You are viewing a read-only archive of the Blogs.Harvard network. Learn more.
Skip to content

Windows-based Ruby install with Rubygems interfering with cygwin ruby?

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>

Be Sociable, Share!

{ 2 } Comments