Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 12:08:19 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        freebsd-ruby@freebsd.org
Subject:   Re: Ruby Gem Require LoadError (8-STABLE, Ruby 1.9.1)
Message-ID:  <20100128120819.a15e60e0.stas@FreeBSD.org>
In-Reply-To: <e58000751001281133v42a6613dm61a0c2c7922df93d@mail.gmail.com>
References:  <e58000751001281133v42a6613dm61a0c2c7922df93d@mail.gmail.com>

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

> Hi,
>=20
> I'm running a fresh install of FreeBSD 8-STABLE (installed then
> updated to STABLE as of 27 Jan. 2010). =9AAll ports are freshly built
> and installed.
>=20
> THE PROBLEM:
> After installing Ruby 1.9.1 and several gems via the Ports collection,
> ruby scripts that use the gems fail to load:
>=20

I suspect that you installed gems for ruby 1.8, not ruby 1.9.  Can you show
the output of gem19 list?

Also, for ruby19 you should not use 'require "rubygems"', just use plain re=
quire.

--=20
Stanislav Sedov
ST4096-RIPE



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