X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: wbp@nodomain.invalid (Will Parsons)
Subject:  Re: ruby irb doesn't seem to work
Date: Fri, 11 Aug 2006 14:30:54 +0000 (UTC)
Lines: 30
Message-ID:  <slrnedp54t.2hg.wbp@L1422169.w-intra.net>
References:  <slrnedp1v7.3ho.wbp@L1422169.w-intra.net> <00e801c6bd4e$3f8c83f0$a501a8c0@CAM.ARTIMI.COM>
Reply-To: william.b.parsons@us.westinghouse.com
User-Agent: slrn/0.9.7.1 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn wrote:
> On 11 August 2006 14:37, Will Parsons wrote:
> 
>> Starting up irb (interactive Ruby), I get:
>> 
>>  $ irb
>>  /usr/bin/ruby: no such file to load -- ubygems (LoadError)
>> 
>> Did I omit to install something I need here?
> 
> 
>   Looks lke you omitted to install the leading letter 'R'.
> 
> 
>  <ba-dyum-tissshhh!>
> 
>     sorry,
>       DaveK

Now what package is that in? ;-)

Seriously, I think I've found the problem - I had an environment variable

  RUBYOPT=-rubygems

Unsetting the variable seems to fix the problem.  Apparently, I'd installed
a non-Cygwin version of Ruby (which I didn't even remember doing), and this
interferes with the Cygwin version.

- Will


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

