Of course you all heard about the latest security hole in Rails which requires some updates. I'm currently using version 2.3.14 of Rails and therefore tried updating to 2.3.15 (the patched version).
On my local machine the process really went the rails way. But after pushing the changes to Heroku and waiting for deployment, my app didn't start. It says in the logs
RubyGem version error: rails(2.3.15 not = 2.3.14)
No how could that happen? My Gemfile
says
gem 'rails', '~> 2.3.15'
and my Gemfile.lock
says
GEM
specs:
rails (2.3.15)
and, finally, Heroku tells me
Installing rails (2.3.15)
Really, where is the problem? Other people having this problem?
Solution
The answer by Charles included the solution, which is to update the RAILS_GEM_VERSION
to 2.3.15
in config/environment.rb
.
Important Notice
If you have the same troubles, please use one of the proposed solutions immediatly. There are already known cases of corrupted Rails apps!