I thought I upgraded my Rails version, but it didn't work
I have an app running on Rails 2.3.3.
I edited my environment.rb
RAILS_GEM_VERSION = '开发者_Python百科2.3.8' unless defined? RAILS_GEM_VERSION
Then performed rake rails:update
In my console:
>> Rails.version
2.3.3
What am I forgetting to do?
Try manually installing rails 2.3.8
gem install rails -v=2.3.8
In some env's this works better (I found this to be the case when using rvm).
try doing "bundle update", this will update the lock file.
You probably just froze your rails gems into your project. This will force the application to load the frozen version. Just remove vendor/rails and you should be all set. Then you can freeze 2.3.8 if you need to. Is there a reason you aren't just going to 2.3.11?
精彩评论