I was using Cygwin for a script that incorporated a Ruby one-liner in it. I was having trouble because I kept getting the error message No such file to load -- ubygems (LoadError).
The answer to the Ruby/Cygwin problem is here.
To summarize:
That's all.
The tutorial shows how to install Ruby on Rails in Cygwin, but I already have RoR installed in both Ubuntu and Windows so didn't need to install it in Cygwin also.
Did you find this post helpful? Leave a comment below, and subscribe to my RSS feed.