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

Eric Hodel drbrain at segment7.net
Wed Nov 14 16:53:25 EST 2007


On Nov 13, 2007, at 22:32 , Jeremy Hinegardner wrote:
> On Tue, Nov 13, 2007 at 10:02:16PM -0800, Eric Hodel wrote:
>> On Nov 13, 2007, at 21:46 , Stephen Bannasch wrote:
>>> At 6:03 PM -0800 11/13/07, Eric Hodel wrote:
>>>>
>>>> Nothing in this stack trace points to RubyGems.
>>>
>>> The crash appears to be happening in
>>> GemPlugin::Manager.instance.load (but of course things are not
>>> always as they appear).
>>
>> GemPlugin is not part of RubyGems.  I think its part of mongrel.
>
> I would be you have a gem installed that depends on GemPlugin but
> doesn't have an init.rb or fails to initialize itself correctly.  Try
> this and see what happens:
>
>     require 'rubygems'
>     require 'mongrel'
>     g = GemPlugin::Manager.instance
>     g.load( {'mongrel' => GemPlugin::INCLUDE })
>     puts g.gems.inspect
>
> If that blows up then its probably some gem that depends on mongrel  
> not
> initalizing correctly.

If it isn't failing with a stack trace that points to RubyGems then  
you'll need to go ask the GemPlugin author for support.  I haven't  
seen such a stack trace yet.

--
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