[Mongrel] mongrel startup fails now: already initialized constant

Manfred Lange lists at ruby-forum.com
Sat Aug 30 22:17:38 EDT 2008

Kirk Schafer wrote:
> [...]
> ---------------------------
> I realize this is an old post, so apologize for bumping it if that's
> what occurs. I encountered the same issue on a new Gentoo box after a
> "darcs get", whereby script/server started WEBrick but then out popped
> Mongrel..and then the error "warning: already initialized constant
> This made no sense to me, and I landed here. The suggestion to run the
> rake tasks had no effect, but a mongrel_rails start did report a
> different error:
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- tzinfo
> (MissingSourceFile)
> Subsequently, only a single "gem install tzinfo" (your circumstances may
> vary) was required to allow both "script/server" and "mongrel_rails
> start" to function normally. So, an FYI for the community at large.

In my case the cause for the problem was a spelling error in 
environment.rb. The error message of "mongrel_rails start" was much more 
helpful than what came out of "script/server". Thank you, Kirk for 
Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list