I have what may be a silly question, but it's been giving me trouble. My app keeps crashing telling me that it can't find Rails 2.3.4 (which is what it should run on), despite having put [rails —version '2.3.4'] in my .gems file and Heroku showing that it installs Rails 2.3.4 when I push my app. Any ideas of what I might be doing wrong?
Thanks. Here's the relevant part of my Heroku logs: 2011-09-22T20:00:04+00:00 heroku[slugc]: Slug compilation started 2011-09-22T20:01:00+00:00 heroku[api]: Release v5 created by [email protected] 2011-09-22T20:01:01+00:00 heroku[web.1]: State changed from crashed to created 2011-09-22T20:01:01+00:00 heroku[web.1]: State changed from created to starting 2011-09-22T20:01:04+00:00 heroku[slugc]: Slug compilation finished 2011-09-22T20:01:05+00:00 heroku[web.1]: Starting process with command `thin -p 51853 -e production -R /home/heroku_rack/heroku.ru start` 2011-09-22T20:01:05+00:00 app[web.1]: Missing the Rails 2.3.4 gem. Please `gem install -v=2.3.4 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. 2011-09-22T20:01:05+00:00 heroku[web.1]: Process exited 2011-09-22T20:01:06+00:00 heroku[web.1]: State changed from starting to crashed 2011-09-22T20:09:29+00:00 heroku[web.1]: State changed from crashed to created 2011-09-22T20:09:29+00:00 heroku[web.1]: State changed from created to starting 2011-09-22T20:09:32+00:00 heroku[web.1]: Starting process with command `thin -p 49351 -e production -R /home/heroku_rack/heroku.ru start` 2011-09-22T20:09:32+00:00 app[web.1]: Missing the Rails 2.3.4 gem. Please `gem install -v=2.3.4 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. 2011-09-22T20:09:32+00:00 heroku[web.1]: Process exited 2011-09-22T20:09:33+00:00 heroku[web.1]: State changed from starting to crashed And here's where it shows Rails 2.3.4 being installed: -----> Heroku receiving push -----> Ruby/Rails app detected -----> Configure Rails to log to stdout Installing rails_log_stdout... done -----> Installing gem rails 2.3.4 from http://rubygems.org Successfully installed activesupport-2.3.4 Successfully installed activerecord-2.3.4 Successfully installed rack-1.0.1 Successfully installed actionpack-2.3.4 Successfully installed actionmailer-2.3.4 Successfully installed activeresource-2.3.4 Successfully installed rails-2.3.4 7 gems installed -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
