使用的是一键脚本,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.
这个怎么解决。。。