[Rubygems-developers] getting an error using mongrel that might be gem related

Eric Hodel drbrain at segment7.net
Tue Nov 13 21:03:21 EST 2007


On Nov 13, 2007, at 14:19 , Stephen Bannasch wrote:

> Posted here in case this really is gem related and someone's seen it
> or something like it before. I think the problem may be in:
>
>    GemPlugin::Manager.instance.load
>
> but I'm not sure at all yet.
>
> -----------------------------
>
> After I updated to ruby 1.8.6p111 last night and updated some gems  
> and now
> mongrel doesn't work:
>
> MacOS 10.4.10
>
> $ ruby --version
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1]
>
> $ gem list rails
>
> *** LOCAL GEMS ***
>
> rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6)
>
> Here's a simple test:
>
> $ rails test5
>         create  ...
>
> $ cd test5
> $ script/server
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails 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...
> ** Rails loaded.
> ** Loading any Rails specific GemPlugins
> Exiting
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/ 
> mongrel.rb:15:
>
> warning: already initialized constant OPTIONS
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/ 
> mongrel.rb:18:
>
> undefined method `options' for []:Array (NoMethodError)
>           from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require'
>           from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
> `require'
>           from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ 
> active_support/dependencies.rb:495:in
>
> `require'
>           from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ 
> active_support/dependencies.rb:342:in
>
> `new_constants_in'
>           from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ 
> active_support/dependencies.rb:495:in
>
> `require'
>           from
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/ 
> server.rb:39
>           from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>           from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'

Nothing in this stack trace points to RubyGems.

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars




More information about the Rubygems-developers mailing list