From owner-freebsd-ruby@FreeBSD.ORG Thu Jan 28 20:07:51 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 72AFE106568D for ; Thu, 28 Jan 2010 20:07:51 +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 1F0AE8FC1E for ; Thu, 28 Jan 2010 20:07:51 +0000 (UTC) Received: from orion.SpringDaemons.com (adsl-99-48-191-9.dsl.snfc21.sbcglobal.net [99.48.191.9]) by mx0.deglitch.com (Postfix) with ESMTPA id 326998FC51 for ; Thu, 28 Jan 2010 23:07:48 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id E6FAD39C24 for ; Thu, 28 Jan 2010 12:08:19 -0800 (PST) Date: Thu, 28 Jan 2010 12:08:19 -0800 From: Stanislav Sedov To: freebsd-ruby@freebsd.org Message-Id: <20100128120819.a15e60e0.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 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 20:07:51 -0000 On Thu, 28 Jan 2010 12:33:34 -0700 Aaron Gifford 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