Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 14:31:57 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Aaron Gifford <astounding@gmail.com>
Cc:        freebsd-ruby@freebsd.org
Subject:   Re: Ruby Gem Require LoadError (8-STABLE, Ruby 1.9.1)
Message-ID:  <20100128143157.e1fd05a4.stas@FreeBSD.org>
In-Reply-To: <e58000751001281326n5fe5f7d9h148c4638cef54434@mail.gmail.com>
References:  <e58000751001281133v42a6613dm61a0c2c7922df93d@mail.gmail.com> <20100128120819.a15e60e0.stas@FreeBSD.org> <e58000751001281326n5fe5f7d9h148c4638cef54434@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jan 2010 14:26:46 -0700
Aaron Gifford <astounding@gmail.com> mentioned:

> 2010/1/28 Stanislav Sedov <stas@freebsd.org> responded:
> > I suspect that you installed gems for ruby 1.8, not ruby 1.9. =9ACan yo=
u show
> > the output of gem19 list?
>=20
> On the system in question gem is a symlink to gem19 (ruby version 1.8
> is NOT installed on the system.), so the "gem list" shown in my
> original post is the output of gem19.

Oh, so you have ruby 1.9 as a default version?

> >
> > Also, for ruby19 you should not use 'require "rubygems"', just use plai=
n require.
>=20
> Heh, yes, old habits are hard to break. I keep that unnecessary
> require around because much of my stuff has to be both 1.8 and 1.9
> compatible. :)
>=20

Weird, it should work with 'require "rubygems"' as well.
I'll try to check at the evening.
Maybe something got broken after the last update.

--=20
Stanislav Sedov
ST4096-RIPE



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