Forum: Ruby on Rails Problem with booting mongreal

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jaikishan Jalan (Guest)
on 2008-12-04 08:17
(Received via mailing list)
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?

--
Thanks,
Jaikishan
Frederick Cheung (Guest)
on 2008-12-04 10:04
(Received via mailing list)
On Dec 4, 7:17 am, "Jaikishan Jalan" <jai....@gmail.com> 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
Miguel Angel Hernández (Guest)
on 2008-12-05 09:59
(Received via mailing list)
Thanks Fred I have the same problem.

How can I do that?

thanks.

On Dec 4, 3:04 am, Frederick Cheung <frederick.che...@gmail.com>
Frederick Cheung (Guest)
on 2008-12-05 12:52
(Received via mailing list)
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.
Shockmeister (Guest)
on 2008-12-12 21:01
(Received via mailing list)
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 Cheung <frederick.che...@gmail.com>
This topic is locked and can not be replied to.