ruby on cygwin “no such file to load — ubygems (LoadError)”

If you’re getting that error, drop to bash and “env | grep -i ruby”. You’ll no doubt see “RUBYOPT=rubygems”.

Just do an “export RUBYOPT=” and it’ll clear that up.

Yes, this is largely for my own reference. It’s one of those solutions SO obvious that I’ll forget it in about 19 seconds.

Tags: , ,

Leave a Reply