Ruby Gem Require LoadError (8-STABLE, Ruby 1.9.1)

Aaron Gifford astounding at
Fri Jan 29 02:05:24 UTC 2010

I wrote:
> A HA!
> This helps:
> GEM_HOME=/usr/local/lib/ruby/gems/1.9/ irb19
> irb(main):001:0> require 'net/ssh'
> => true
> So if I manually set $GEM_HOME, things work.
> Any ideas what might be happening, anyone?
> Aaron out.

One more interesting thing:

% ruby19 -e 'p Gem.default_dir'

That is NOT right.  It should be "/usr/local/lib/ruby/gems/1.9" instead.

Where does Gem.default_dir get set, does anyone know?

Aaron out.

More information about the freebsd-ruby mailing list