Rails安装发出错误

时间:2013-11-09 01:48:10

标签: ruby-on-rails installation

我把它放到终端:

sudo gem install rails -V

我收到此错误输出:

200 OK
GET http://rubygems.org/quick/Marshal.4.8/rack-1.4.2.gemspec.rz
302 Moved Temporarily
GET http://bb-m.rubygems.org/quick/Marshal.4.8/rack-1.4.2.gemspec.rz
200 OK
GET http://rubygems.org/quick/Marshal.4.8/rack-1.4.3.gemspec.rz
302 Moved Temporarily
GET http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/rack-1.4.3.gemspec.rz
200 OK
GET http://rubygems.org/quick/Marshal.4.8/rack-1.4.4.gemspec.rz
302 Moved Temporarily
GET http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/rack-1.4.4.gemspec.rz
200 OK
GET http://rubygems.org/quick/Marshal.4.8/rack-1.4.5.gemspec.rz
302 Moved Temporarily

......此时它终于说它无法安装rails。

1 个答案:

答案 0 :(得分:0)

更新:问题是我安装了Ruby 1.8.7。我刚刚在Uninstalling and upgrading Ruby on a Mac without using RVM的帮助下更新到v2.0.0。