Problem: While developing on Rails 2.3.2 you want to deploy in dreamhost that uses 2.2.2 at the moment. Solution: Although we could try to freeze the specific rails version we are using, it's probably easier as a temporary solution, until dreamhost upgrades the rails version to do the following:
- Make sure that we have the following line with the appropriate version of
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
in the
config/environment.rb
file. - Rename the application_controller.rb file back to application.rb
- Comment out the following line from
config/environments/production.rb
config.action_view.cache_template_loading = true.