This topic created in 5077 days ago, the information mentioned may be changed or developed.
使用的是一键脚本,https://github.com/fenprace/laptop-china
但是输入 rails -t
提示:
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
然后直接输入
$ gem install rails
等待片刻却出现:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
这个怎么解决。。。
sudo,也提示没有写入权限。。
这个怎么办??
2 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
kaichen Jun 7, 2012
你看看当前的ruby是rvm装好的ruby吗?还有rvm的init脚本是否已经设置好了,执行一下rvm就能看到。
|
 |
|
2
hdinfo Jun 8, 2012
搞定了,重装了ruby,就ok了。。。。
|