delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/10:31:39

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: wbp AT nodomain DOT 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 DOT 3ho DOT wbp AT L1422169 DOT w-intra DOT net> <00e801c6bd4e$3f8c83f0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Reply-To: william DOT b DOT parsons AT us DOT westinghouse DOT com
User-Agent: slrn/0.9.7.1 (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019