shadowfirebird
March 11th, 2008, 06:31 PM
[Gutsy; Ruby 1.8]
Okay, I've installed rubygems twice now, once from Synaptic and once from Rubyforge. Same problem both times.
The gem command works fine. I get the gem I am after. The problem comes when I try to use the thing. It doesn't know about it.
Now, I've done a 'gem environment' and I know where gem is putting stuff, and it's genuinely there (/usr/lib/ruby/gems/1.8). So presumably I need to set RUBYLIB to something. I've tried /usr/lib/ruby/gems, /usr/lib/ruby/gems/1.8, and /usr/lib/ruby/gems/1.8/gems. But nothing works.
I'm sure I'm just being thick here. Any ideas, anyone?
Okay, I've installed rubygems twice now, once from Synaptic and once from Rubyforge. Same problem both times.
The gem command works fine. I get the gem I am after. The problem comes when I try to use the thing. It doesn't know about it.
Now, I've done a 'gem environment' and I know where gem is putting stuff, and it's genuinely there (/usr/lib/ruby/gems/1.8). So presumably I need to set RUBYLIB to something. I've tried /usr/lib/ruby/gems, /usr/lib/ruby/gems/1.8, and /usr/lib/ruby/gems/1.8/gems. But nothing works.
I'm sure I'm just being thick here. Any ideas, anyone?