Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 19:05:22 -0700
From:      Aaron Gifford <astounding@gmail.com>
To:        freebsd-ruby@freebsd.org
Subject:   Re: Ruby Gem Require LoadError (8-STABLE, Ruby 1.9.1)
Message-ID:  <e58000751001281805i4b901f78veb45255c25245d2a@mail.gmail.com>
In-Reply-To: <e58000751001281754g50a65ab8idbe4d9048d11ced6@mail.gmail.com>
References:  <e58000751001281133v42a6613dm61a0c2c7922df93d@mail.gmail.com> <20100128120819.a15e60e0.stas@FreeBSD.org> <e58000751001281326n5fe5f7d9h148c4638cef54434@mail.gmail.com> <20100128143157.e1fd05a4.stas@FreeBSD.org> <e58000751001281611w217e8927td9f7385819409ab3@mail.gmail.com> <20100128165027.f510a468.stas@FreeBSD.org> <e58000751001281754g50a65ab8idbe4d9048d11ced6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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'
"/usr/local/lib/ruby19/gems/1.9"

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e58000751001281805i4b901f78veb45255c25245d2a>