From: "M. Edward (Ed) Borasky" Date: 2006-07-30T16:05:52+09:00 Subject: Re: build error on cygwin Hal Fulton wrote: > M. Edward (Ed) Borasky wrote: >> I just tried "irb" on CygWin and it spake thusly: >> >> $ irb >> /usr/bin/ruby: no such file to load -- ubygems (LoadError) >> >> I think CygWin is broken! Is this what it's doing on your system?? > > Try unsetting your RUBYOPT or installing rubygems (which has > an actual lib called "ubygems"). > > > Hal > > Yep ... first undefine RUBYOPT, then re-install rubygems, then re-set RUBYOPT and irb still works. I do have the one-click installer loaded, and CygWin inherited the RUBYOPT definition from Windows. This is apparently an FAQ. :)