I had a problem with a windows-based install of Ruby with RubyGems kept
screwing up my cygwin-based installation of Ruby. Seems this is a
‘well-known’ problem in the Ruby community. The symptons look like this
$ irb
/usr/bin/ruby: no such file to load — ubygems (LoadError)
Really annoying. To fix this unset the RUBYOPT environment variable in
your cygwin shell’s setting. The manual way to do this in bash is
shown:
$ unset RUBYOPT
$ irb
irb(main):001:0>
{ 2 } Comments