1
我已經安裝了1.8.3版本,但是當我試圖通過rvm安裝Ruby 1.9.2時看到一些錯誤。通過rvm安裝Ruby 1.9.2。 Ubuntu 11.10問題
我用Google,用了很多方法來解決這個問題,但是我還沒有收到任何答案。有誰能夠幫助我?
我引用下面
[email protected]:~$ rvm install 1.9.2
0Warning: Failed to create the file yaml-0.1.4.tar.gz: Access is denied
Database file /usr/share/ruby-rvm/config/packages does not exist.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
curl: (23) Failed writing body (0 != 2503)
There was an error, please check /usr/share/ruby-rvm/log//*.log. Next we'll try to fetch via http.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
Failed writing body (0 != 2804)
There was an error, please check /usr/share/ruby-rvm/log//*.log
There has been an error while trying to fetch the source.
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.
類似的問題作爲http://stackoverflow.com/q/7638885/422353?看起來像rvm是以root身份安裝的,現在你不能像普通用戶那樣安裝ruby。 – madth3 2012-02-03 00:21:32
你是從[單用戶還是多用戶安裝](http://beginrescueend.com/rvm/install/)開始的? – sarnold 2012-02-03 00:26:14