From owner-freebsd-ruby@FreeBSD.ORG Fri Jan 29 02:05:23 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 EF3FC106566C for ; Fri, 29 Jan 2010 02:05:23 +0000 (UTC) (envelope-from astounding@gmail.com) Received: from mail-yx0-f202.google.com (mail-yx0-f202.google.com [209.85.210.202]) by mx1.freebsd.org (Postfix) with ESMTP id 67E048FC12 for ; Fri, 29 Jan 2010 02:05:23 +0000 (UTC) Received: by yxe40 with SMTP id 40so1259998yxe.28 for ; Thu, 28 Jan 2010 18:05:22 -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; bh=y6WowgcC/H9zUsoGDP4IHWnv5/9rgtnJN53Mz6+aeNo=; b=hPHF86X6z62kE+1JLWuLHAFDEfXyg7ySdeB9ThzR4CQKu4YnCG9iiA5tvkCWvgltWe c35nmvT9NhrkJ20NLkcOHxYjI+z+nTKaeKt/SCMn/EJM6PAQylI7p/SqCzDPjnKHhrH8 Ju5k1E6M+IDAqvjcJfcjx8F+di2xs8MbY9F+w= 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; b=jN55m/z6xwaWac/p0pY6+ROy0NjjI+ny4jGLhN4w3K1G1YHDJGar47cLubytoWh+DV FmtPtIfVMG1dkrDTHkVyjChiybarUzTheEVnZpiwxf9wl8aXohK9JELz+w0OWwXhpSxg 4iG/eE4XDEhTYOICWU2LWArgYta0cimrlbqkQ= MIME-Version: 1.0 Received: by 10.101.193.32 with SMTP id v32mr192566anp.8.1264730722583; Thu, 28 Jan 2010 18:05:22 -0800 (PST) In-Reply-To: References: <20100128120819.a15e60e0.stas@FreeBSD.org> <20100128143157.e1fd05a4.stas@FreeBSD.org> <20100128165027.f510a468.stas@FreeBSD.org> Date: Thu, 28 Jan 2010 19:05:22 -0700 Message-ID: From: Aaron Gifford To: freebsd-ruby@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 29 Jan 2010 02:05:24 -0000 I wrote: > A HA! > > This helps: > > GEM_HOME=/usr/local/lib/ruby/gems/1.9/ irb19 > irb(main):001:0> require 'net/ssh' > => true > > So if I manually set $GEM_HOME, things work. > > Any ideas what might be happening, anyone? > > Aaron out. One more interesting thing: % ruby19 -e 'p Gem.default_dir' "/usr/local/lib/ruby19/gems/1.9" That is NOT right. It should be "/usr/local/lib/ruby/gems/1.9" instead. Where does Gem.default_dir get set, does anyone know? Aaron out.