Rails版本不正确

时间:2012-01-19 18:57:32

标签: ruby-on-rails ruby ruby-on-rails-3

[******@s2 rails_apps]$ gem install -V rails -v=3 --no-rdoc --no-ri
GET http://rubygems.org/specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/specs.4.8.gz 
304 Not Modified
GET http://rubygems.org/latest_specs.4.8.gz
connection reset after 2 requests, retrying
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
304 Not Modified
Installing gem rails-3.0.0
/home/******/ruby/gems/gems/rails-3.0.0/bin/rails
/home/******/ruby/gems/bin/rails
Successfully installed rails-3.0.0
1 gem installed
[******@s2 rails_apps]$ rails -v
Rails 2.3.14
[******@s2 rails_apps]$ 

为什么我看不到Rails 3.0.0?如果有任何帮助,我会使用Debian系统。

1 个答案:

答案 0 :(得分:1)

不是v3,而是v3.0.0:

gem install -V rails -v=3.0.0 --no-rdoc --no-ri