# Server is broken!

**URL:** <https://www.ruby-forum.com/t/server-is-broken/142696>\
**Category:** Rails\
**Created:** [July 10, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696 "2008-07-10T13:31:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [July 10, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696/1 "2008-07-10T13:31:50Z")

</div>

The mongrel server has mysteriously stopped working on one of my rails  
projects.

Here’s what the console says:

$ script/server =\> Booting Mongrel (use ‘script/server webrick’ to  
force WEBrick)  
=\> Rails 2.1.0 application starting on [http://0.0.0.0:3000](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  
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active\_support/  
dependencies.rb:492:in `const_missing': uninitialized constant Rails::Plugin::Err (NameError) from /Users/mark/Sites/rubyonrails/rails_space/vendor/plugins/plugins/ acts_as_cached/init.rb:2:in `evaluate\_init\_rb’  
from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:  
95:in `evaluate_init_rb' from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ active_support/core_ext/kernel/reporting.rb:11:in `silence\_warnings’  
from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb:  
91:in `evaluate_init_rb' from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin.rb: 44:in `load’  
from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin/  
loader.rb:33:in `load_plugins' from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin/ loader.rb:32:in `each’  
from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/rails/plugin/  
loader.rb:32:in `load_plugins' ... 31 levels... from /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/commands/server.rb: 39 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem\_original\_require’  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:27:in  
`require’  
from script/server:3

I’m stumped, any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [July 10, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696/2 "2008-07-10T18:33:40Z")

</div>

Seems to me you have either missing plugins or plugin incompatibility.

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [July 11, 2008, 12:45pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696/3 "2008-07-11T12:45:13Z")

</div>

Thanks for your suggestion, how can I check this and fix it?

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [July 11, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696/4 "2008-07-11T12:58:05Z")

</div>

Remove acts\_as\_cached from the plugins folder (since the stack trace  
points to that plugin if you read carefully) and try to start the  
server again. If the error doesn’t occur, you have the choice of  
trying to make that plugin work with your Rails version by patching it  
or searching for an alternative.

BTW, if you’re using Rails 2.1, I believe that plugin is totally  
unnecessary, since Rails has memcached support built-in. Search google  
for more info on Rails 2.1 caching.

On 11 Jul 2008, at 12:44, Mark wrote:

> > > plugins/plugins/  
> > > acts\_as\_cached/init.rb:2:in `evaluate\_init\_rb’

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [July 11, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696/5 "2008-07-11T15:14:48Z")

</div>

Peter De Berdt wrote:

> BTW, if you’re using Rails 2.1, I believe that plugin is totally  
> unnecessary, since Rails has memcached support built-in. Search google  
> for more info on Rails 2.1 caching.

> Rails::Plugin::Err (NameError)  
> from /Users/mark/Sites/rubyonrails/rails\_space/vendor/plugins/plugins/  
> acts\_as\_cached/init.rb:2:in `evaluate\_init\_rb’

Yeah,  
it may also be better, if you’re following the RailsSpace tutorials,  
to use the same version of Rails that they were using.

Try sudo gem install rails --version=2.0.2 or something

think that should be similar enough…  
then go into config/environment.rb  
find the bit that talks about rails version,  
and change it to “2.0.2”  
or however its phrased.
