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: References: <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: List-Archive: List-Post: List-Help: , 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'. > > > > > 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/