This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ruby irb doesn't seem to work


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]