ubuntu12.04安裝ruby2.0.0其實很簡單,但最近總是出現問題
rvm install 2.0.0
報錯error running 'requirements_debian_update_system ruby-2.0.0-p353'
糾結了好久發現.如果ubuntu的源中,有些錯誤,就會出現上面的報錯,只要把有問題的源乾掉即可.
如果是國內的伺服器直接用國內的映象即可
輸入sudo vi /etc/apt/sources.list
將裡面的內容替換成:
deb precise main restricted universe multiversedeb precise-security main restricted universe multiverse
deb precise-updates main restricted universe multiverse
deb precise-proposed main restricted universe multiverse
deb precise-backports main restricted universe multiverse
deb-src precise main restricted universe multiverse
deb-src precise-security main restricted universe multiverse
deb-src precise-updates main restricted universe multiverse
deb-src precise-proposed main restricted universe multiverse
deb-src precise-backports main restricted universe multiverse
ubuntu 下ruby 的安裝
準備 sudo apt get install build essential sudo apt get install gcc sudo apt get install g sudo apt get install libssl0.9.8 sudo apt get install libssl0....
在Ubuntu上安裝Ruby
這些受經濟危機的影響,各個公司風雲變換,就連我待部門也不例外,心頭總是感到很沉重的危機感。偶然瞥見書架上一年前買的 programming ruby 終於決定再次把它拿出來,繼續學習,也好為以後的 不測 做個準備。前幾天看到同事用ubuntu,感覺挺有意思,於是就準備也學習一下,就確定了在ubunt...
在Ubuntu上安裝Ruby 1 9 2
首先,2012年了,已經有了ruby 1.9.3,為什麼我要安裝1.9.2?答案 因為我在學習ruby on rails,參考書ruby on raisl 3 tutorial是根據1.9.2寫的 而且heroku伺服器看樣子目前只支援ruby 1.9.2 啟動ubuntu,通過以下命令安裝一些相關...