e - Text Editor - no such file exists -- ubygems
Thursday, August 23 2007 2 Comments
There's no doubt that e kicks ass. On one of my computers, however I was having a problem using some of the bundles. Specifically some of the bundles utilize cygwin to do their magic.
I was receiving this weird error, where ruby is complaining that it can't locat a file named "ubygems". Obviously, they are referring to rubygems, and the problem exists when you have a windows install of ruby and a cygwin install of ruby.
To fix it you need to reinstall ruby gems within cygwin. Download the latest version of rubygems from rubyforge. Put the tarball in the c:\cygwin\home\USER folder, then open up your cygwin prompt and type:
I was receiving this weird error, where ruby is complaining that it can't locat a file named "ubygems". Obviously, they are referring to rubygems, and the problem exists when you have a windows install of ruby and a cygwin install of ruby.
To fix it you need to reinstall ruby gems within cygwin. Download the latest version of rubygems from rubyforge. Put the tarball in the c:\cygwin\home\USER folder, then open up your cygwin prompt and type:
$ tar -x -f rubygems-0.9.4.tgz(this will change if you download a different version)
$ cd rubygems-0.9.4
$ unset RUBYOPT
$ ruby setup.rb
At this point rubygems should be installing and you should be good to go. Back to "e goodness"!


John
8.31.2007
5:17 PM
Yay, thanks for that. I'm trying hard to get into Linux via Cygwin but it's an uphill battle against annoying little problems like this.This is a new experience for me:- encounter (yet another) annoying little problem in Cygwin- Google for distinctive term in the error message- top hit is a step-by-step fix that works exactly as advertisedThanks again :)