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?