M
mdiam
Bonjour à tous,
I'm trying to install and use one particular gem in a non-standard
location.
I'd like to keep using both standard or non-standard installed gems.
I'v been able to install the "rgl" (Ruby Graph Library) in a personnal
directory
like this :
export MY_GEMS=/home/.../pack/ruby/gems/1.8/
gem install rgl -i $MY_GEMS -t --debug
But I'm unable to use it :
export GEM_PATH=$MY_GEMS
irb
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:304:in
`report_activate_error'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:238:in
`activate'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:50:in `gem'
from (irb):3
Thank you for any help
-- Maurice Diamantini
I'm trying to install and use one particular gem in a non-standard
location.
I'd like to keep using both standard or non-standard installed gems.
I'v been able to install the "rgl" (Ruby Graph Library) in a personnal
directory
like this :
export MY_GEMS=/home/.../pack/ruby/gems/1.8/
gem install rgl -i $MY_GEMS -t --debug
But I'm unable to use it :
export GEM_PATH=$MY_GEMS
irb
Gem::LoadError: Could not find RubyGem rgl (>= 0.0.0)require "rubygems"
gem "rgl"
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:304:in
`report_activate_error'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:238:in
`activate'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:50:in `gem'
from (irb):3
Thank you for any help
-- Maurice Diamantini