On Tue, May 31, 2011 at 8:59 AM, Pat Allan <[email protected]> wrote:
> Ah, I should get that fixed - add the following before you require riddle:
>  require 'thread'
>
> TS has that above require, hence why it doesn't crop up for most people. I'll 
> get a patch in Riddle now for that, and it'll be a part of the next gem 
> release.
>

Pat

Thanks for the quick reply and pointer.

tj
> --
> Pat
>
> On 31/05/2011, at 1:39 PM, T.J. Yang wrote:
>
>> Any pointer for me to fix this issue ?
>>
>> root@600m:~# gem -v
>> 1.8.4
>> root@600m:~# gem list |grep riddle
>> riddle (1.3.3)
>> root@600m:~# irb
>> irb(main):001:0> require 'rubygems'
>> => true
>> irb(main):002:0> require 'socket'
>> => true
>> irb(main):003:0> require 'timeout'
>> => true
>> irb(main):004:0> require 'riddle'
>> NameError: uninitialized constant Riddle::Mutex
>>        from /var/ruby/1.8/gem_home/gems/riddle-1.3.3/lib/riddle.rb:5
>>        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/rubygems/
>> custom_require.rb:59:in `gem_original_require'
>>        from /usr/ruby/1.8/lib/ruby/site_ruby/1.8/rubygems/
>> custom_require.rb:59:in `require'
>>        from (irb):4
>> irb(main):005:0>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Thinking Sphinx" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
>
>



-- 
T.J. Yang

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to