Hi

I have been trying to debug this for sometime now and thought it may
be best to ask someone. Mostly I am not able to believe what I see :)

I have installed the beanstalk-client gem in gentoo amd 64 and I can
see it in /usr/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/ .
However going to irb if I try to require it, I get an error

irb(main):002:0> require 'beanstalkd-client'
LoadError: no such file to load -- beanstalkd-client
        from (irb):2:in `require'
        from (irb):2

I have also tried this

irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'beanstalk-client'
LoadError: no such file to load -- beanstalk-client
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from (irb):3

Here are the ruby and gems version
prat...@marvin:~/work/muziboo/muzsvn/muz$ gem -v
1.3.1
prat...@marvin:~/work/muziboo/muzsvn/muz$ ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]

Strangely, If I go to to the lib folder that contains the beanstalk-
client.rb file, it works

prat...@marvin:~/work/muziboo/muzsvn/muz$ cd /usr/lib/ruby/gems/1.8/
gems/beanstalk-client-1.0.2/lib/
prat...@marvin:/usr/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib$
ls
beanstalk-client  beanstalk-client.rb
prat...@marvin:/usr/lib/ruby/gems/1.8/gems/beanstalk-client-1.0.2/lib$
irb
irb(main):001:0> require 'beanstalk-client'
=> true

I am able to load other gems as usual. Any help here would be
appreciated

Regards
Prateek




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to beanstalk-talk@googlegroups.com
To unsubscribe from this group, send email to 
beanstalk-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to