Fickle Bits

You're doing it wrong.

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:

1
$ tar -x -f rubygems-0.9.4.tgz(this will change if you download a different version)<br>$ cd rubygems-0.9.4<br>$ unset RUBYOPT<br>$ ruby setup.rb<br><br>

At this point rubygems should be installing and you should be good to go.  Back to “e goodness”!

Comments