problem / conflict with another gem

24 views
Skip to first unread message

Francois

unread,
Mar 9, 2011, 7:14:42 AM3/9/11
to Webby
After updating the gem to the last version, I've got a conflict with
this gem.

If you got a clue on what is wrong with my setup, I'm interested :-)

/Library/Ruby/Gems/1.8/gems/logging-1.4.3/lib/logging/utils.rb:176:
uninitialized constant Mutex (NameError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in
`require'
from /Library/Ruby/Gems/1.8/gems/logging-1.4.3/lib/logging.rb:
7
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:49:in
`require'
from /Library/Ruby/Gems/1.8/gems/webby-0.9.4/bin/webby:4
from /usr/bin/webby:19:in `load'
from /usr/bin/webby:19

regards,

F

Tim Pease

unread,
Mar 9, 2011, 10:33:55 AM3/9/11
to webby...@googlegroups.com

On Mar 9, 2011, at 5:14 AM, Francois wrote:

> After updating the gem to the last version, I've got a conflict with
> this gem.
>
> If you got a clue on what is wrong with my setup, I'm interested :-)
>
> /Library/Ruby/Gems/1.8/gems/logging-1.4.3/lib/logging/utils.rb:176:
> uninitialized constant Mutex (NameError)

That is a bug in the logging gem. You need to require "thread" before requiring the logging library.

Blessings,
TwP

jrduncans

unread,
May 7, 2011, 3:42:37 PM5/7/11
to Webby
On Mar 9, 11:33 am, Tim Pease <tim.pe...@gmail.com> wrote:
> That is a bug in the logging gem. You need to require "thread" before requiring the logging library.
>
> Blessings,
> TwP

For anyone else coming across this, I had to 'gem install logging -v
1.5.0' to address this problem.

-Stephen
Reply all
Reply to author
Forward
0 new messages