Thursday, August 23, 2007

e - Text Editor - no such file exists -- ubygems

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:
$ 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"!

Friday, August 31, 2007 3:17:03 PM (Central Standard Time, UTC-06:00)
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 advertised

Thanks again :)
John
Friday, August 31, 2007 4:37:51 PM (Central Standard Time, UTC-06:00)
Glad I could help!
Comments are closed.
Mortgage Calculator - Loans - United Specialties - Credit Cards