From owner-freebsd-ruby@FreeBSD.ORG Thu Jan 28 22:31:28 2010 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 446531065670 for ; Thu, 28 Jan 2010 22:31:28 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id E4A858FC08 for ; Thu, 28 Jan 2010 22:31:27 +0000 (UTC) Received: from orion.SpringDaemons.com (unknown [99.48.191.9]) by mx0.deglitch.com (Postfix) with ESMTPA id DA8638FC4E; Fri, 29 Jan 2010 01:31:25 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 4C5EB39C24; Thu, 28 Jan 2010 14:31:57 -0800 (PST) Date: Thu, 28 Jan 2010 14:31:57 -0800 From: Stanislav Sedov To: Aaron Gifford Message-Id: <20100128143157.e1fd05a4.stas@FreeBSD.org> In-Reply-To: References: <20100128120819.a15e60e0.stas@FreeBSD.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-ruby@freebsd.org Subject: Re: Ruby Gem Require LoadError (8-STABLE, Ruby 1.9.1) X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2010 22:31:28 -0000 On Thu, 28 Jan 2010 14:26:46 -0700 Aaron Gifford mentioned: > 2010/1/28 Stanislav Sedov 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