Problem with booting mongreal


#1

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 methodcache_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:ineach’
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:ineach’
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:inprocess’
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:inrun’
… 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:inrequire’
from script/server:3

Not sure what is causing this. Any pointers?


Thanks,
Jaikishan


#2

On Dec 4, 7:17 am, “Jaikishan J.” removed_email_address@domain.invalid wrote:

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


#3

Thanks Fred I have the same problem.

How can I do that?

thanks.

On Dec 4, 3:04 am, Frederick C. removed_email_address@domain.invalid


#4

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

On Dec 5, 11:51 am, Frederick C. removed_email_address@domain.invalid


#5

On 5 Dec 2008, at 01:09, Miguel Angel Hernández wrote:

Thanks Fred I have the same problem.

How can I do that?
find lines including that statement. delete them.