The real issue is that in a default "config/production.rb", there's a
line:

config.action_view.cache_template_loading            = true

This call no longer exists in rails 2.2.2.  If you remove that line
from 'config/production.rb' and redeploy your app, your app shouldn't
run into this problem anymore.



On Dec 2, 1:06 am, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 29, 2008 at 3:46 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > The server for feedmyworms failed to start. Details:
>
> > /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `send':
> > undefined method `cache_template_loading=' for ActionView::Base:Class
> > (NoMethodError) from
>
> Since we installed the 2.2 gem, a lot of people seem to be hitting
> this.  In every case I've seen, it's because the app is expecting 2.1,
> but this isn't explicitly specified in the environment.  Add this to
> config/environment.rb to avoid this problem:
>
> RAILS_GEM_VERSION = '2.1'
>
> Adam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to