From owner-freebsd-ruby@FreeBSD.ORG Thu Jan 28 21:26:48 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 36D28106566B for ; Thu, 28 Jan 2010 21:26:48 +0000 (UTC) (envelope-from astounding@gmail.com) Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.211.194]) by mx1.freebsd.org (Postfix) with ESMTP id DB62E8FC08 for ; Thu, 28 Jan 2010 21:26:47 +0000 (UTC) Received: by ywh32 with SMTP id 32so453870ywh.14 for ; Thu, 28 Jan 2010 13:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=S04k7M0l98h1tzdqoTk8nRRRgjhq3N32fbhcPPg8CtE=; b=ac4VUirab9nmREoKiZedl2CLPLZw0WMskmPLwYJAaLmEH0PT8xaXu4Ng2BZZybdbeE +oAf0JD4DMlX5P2cpGMoS/7ai4kwiBzfDlH2GibGpkxhmFFungudORPnx5YuO4Sl9uo+ luX6qonly/2i4/OmANJzYiM0/c+8sDsEjR+BU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HHfh0MrFwOtYw45GUwNij0nm3OqMjaRAJApq8pUoZkmW0S1mcOjtkMQTebODPw2IFc Nxqae0RIXfeIQP3O2qf8kiZWifZncl4EuLhgGaxFoOv8dOUJsde1HxMfyTz1SLY5FyS/ 19u+5zQ+tLQ0N8PRoDaBGva94rKeW/moXVqeY= MIME-Version: 1.0 Received: by 10.101.130.35 with SMTP id h35mr871729ann.109.1264714006792; Thu, 28 Jan 2010 13:26:46 -0800 (PST) In-Reply-To: <20100128120819.a15e60e0.stas@FreeBSD.org> References: <20100128120819.a15e60e0.stas@FreeBSD.org> Date: Thu, 28 Jan 2010 14:26:46 -0700 Message-ID: From: Aaron Gifford To: freebsd-ruby@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 21:26:48 -0000 2010/1/28 Stanislav Sedov responded: > I suspect that you installed gems for ruby 1.8, not ruby 1.9. =A0Can you = show > the output of gem19 list? 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. > > Also, for ruby19 you should not use 'require "rubygems"', just use plain = require. 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. :) Aaron out.