Problem with booting mongreal

Hello,

When I try to boot my server by ruby script/server, it throws me following error:

=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment… Exiting /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in send': undefined method cache_template_extensions=’ for ActionView::Base:Class (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:529:in each’ from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:529:in initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:526:in each’ from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:526:in initialize_framework_settings' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:154:in process’ from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in send' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in run’ … 27 levels… from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in require’ from script/server:3

Not sure what is causing this. Any pointers?

Hello,

Not sure what is causing this. Any pointers?

cache_template_extensions has been removed. expunge all traces of it from your app's configuration

Fred

Thanks Fred I have the same problem.

How can I do that?

thanks.

Thanks Fred I have the same problem.

How can I do that?

find lines including that statement. delete them.

I had similar problems booting mongrel. Turns out I had my rails project in a sub folder. When I moved it back into the Ruby folder it booted up just fine. Hopefully thats all it is