-1
当我检查rails -v
我得到轨道4没有检测到我的红宝石2.0.0安装
Rails 4 prefers to run on Ruby 2.0.
You're running
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
Please upgrade to Ruby 1.9.3 or newer to continue.
不过,我已经安装了2.0.0。当我运行ruby -v
时,得到: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
我该怎么办?
您使用的红宝石与版本管理像RVM? –
yes,'rvm -v'rvm 1.22.3(稳定),由Wayne E. Seguin <[email protected]>,Michal Papis <[email protected]> [https://rvm.io/]' – Patrick