这是一个创建于 4391 天前的主题,其中的信息可能已经有所发展或是发生改变。
使用的是一键脚本,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 条回复 • 1970-01-01 08:00:00 +08:00
![kaichen](https://cdn.v2ex.com/avatar/2a50/e9c2/1320_normal.png?m=1637640193) |
|
1
kaichen 2012-06-07 21:40:29 +08:00
你看看当前的ruby是rvm装好的ruby吗?还有rvm的init脚本是否已经设置好了,执行一下rvm就能看到。
|
![hdinfo](https://cdn.v2ex.com/avatar/3185/7b44/1067_normal.png?m=1383098458) |
|
2
hdinfo 2012-06-08 01:11:54 +08:00
搞定了,重装了ruby,就ok了。。。。
|