# Cannot start Mongrel

**URL:** <https://www.ruby-forum.com/t/cannot-start-mongrel/154364>\
**Category:** Rails\
**Created:** [November 28, 2008, 9:52am UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364 "2008-11-28T09:52:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 28, 2008, 9:52am UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/1 "2008-11-28T09:52:17Z")

</div>

Hi all,

I have rails 2.2.2 and Ruby 1.8.7.

I just updates my rails version (changed the environment.rb) and now  
try to startup Mongrel resulting in Exiting…

Someone knows why?

\*\* Starting Mongrel listening at 0.0.0.0:3000  
\*\* Starting Rails with development environment…  
C:/InstantRails/ruby/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 C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/  
lib/initializer.rb:530:in `initialize_framework_settings' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/initializer.rb:529:in`each’  
from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/  
lib/initializer.rb:529:in `initialize_framework_settings' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/initializer.rb:526:in`each’  
from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/  
lib/initializer.rb:526:in `initialize_framework_settings' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/initializer.rb:154:in`process’  
from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/  
lib/initializer.rb:112:in `send' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/ lib/initializer.rb:112:in`run’  
… 12 levels…  
from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-  
x86-mswin32-60/bin/…/lib/mongrel/command.rb:212:in `run' from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5- x86-mswin32-60/bin/mongrel_rails:281 from C:/InstantRails/ruby/bin/mongrel_rails:19:in`load’  
from C:/InstantRails/ruby/bin/mongrel\_rails:19

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 28, 2008, 10:38am UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/2 "2008-11-28T10:38:03Z")

</div>

On Nov 28, 8:51 am, Tarscher [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,
> 
> I have rails 2.2.2 and Ruby 1.8.7.
> 
> I just updates my rails version (changed the environment.rb) and now  
> try to startup Mongrel resulting in Exiting…
> 
> Someone knows why?

Because the cache\_template\_extensions setting was removed.

Fred

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 29, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/3 "2008-11-29T16:33:43Z")

</div>

Frederick C. wrote:

> On Nov 28, 8:51ï¿½am, Tarscher [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi all,
> > 
> > I have rails 2.2.2 and Ruby 1.8.7.
> > 
> > I just updates my rails version (changed the environment.rb) and now  
> > try to startup Mongrel resulting in Exiting…
> > 
> > Someone knows why?
> 
> Because the cache\_template\_extensions setting was removed.
> 
> Fred

So Fred, how do we fix the problem? I don’t see anything in the/config  
of my app that’s using or creating this setting. What do we do to fix  
the problem?

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 29, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/4 "2008-11-29T19:37:10Z")

</div>

On 29 Nov 2008, at 15:33, Scott H. \<rails-mailing-list@andreas-  
[s.net](http://s.net)\> wrote:

> > > Someone knows why?
> > 
> > Because the cache\_template\_extensions setting was removed.
> > 
> > Fred
> 
> So Fred, how do we fix the problem? I don’t see anything in the/config  
> of my app that’s using or creating this setting. What do we do to fix  
> the problem?

Assuming it was the same problem as the OP then you’d remove  
references to that setting in production.rb etc…  
If not then I’ve no idea what the solution is because I don’t know  
what the problem is.

Fred

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 29, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/5 "2008-11-29T16:43:38Z")

</div>

Scott H. wrote:

> Frederick C. wrote:
> 
> > On Nov 28, 8:51ï¿½am, Tarscher [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > Hi all,
> > > 
> > > I have rails 2.2.2 and Ruby 1.8.7.
> > > 
> > > I just updates my rails version (changed the environment.rb) and now  
> > > try to startup Mongrel resulting in Exiting…
> > > 
> > > Someone knows why?
> > 
> > Because the cache\_template\_extensions setting was removed.
> > 
> > Fred
> 
> So Fred, how do we fix the problem? I don’t see anything in the/config  
> of my app that’s using or creating this setting. What do we do to fix  
> the problem?

Never mind, I found your post on

[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/51bc97ee5c3c8b58](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/51bc97ee5c3c8b58)

that we need to edit /config/environments/development.rb, I commented  
out the referece (didn’t see it there eariler). Thanks!

---

<div class="post-metadata">

**Author:** ![Tarscher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Post date:** [November 29, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364/6 "2008-11-29T19:47:09Z")

</div>

Oops, hadn’t seen your later message, ignore me ☹

Sent from my iPhone

On 29 Nov 2008, at 18:35, Frederick C.
