1
我正在嘗試安裝rails並安裝rvm,並試圖安裝rails,但它說我沒有寫入權限。Ubuntu 11.04 Ruby on Rails安裝寫入權限錯誤
$ gem install rails --version 3.0.7
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /var/lib/gems/1.8 directory.
當我嘗試須藤它給我這個錯誤,我知道,你可以使用--no裏--no-R-doc的,但即使我這樣做導軌安裝不正確。有沒有人有任何想法?
$ sudo gem install rails --version 3.0.7
Successfully installed rails-3.0.7
1 gem installed
Installing ri documentation for rails-3.0.7...
file 'lib' not found
Installing RDoc documentation for rails-3.0.7...
file 'lib' not found
謝謝,我實際上是在早期看這個指南,但由於某種原因傳遞給它。 – trev9065 2011-05-27 14:56:30
感謝Andrei的推薦! – 2011-07-29 04:37:17