On 5/12/05, Brian Takita <brian.takita / gmail.com> wrote:
> I removed the RUBYOPT, but irb was still able to run.
> 
> Anything in the
> * RubyDir/bin
> * RubyDir/lib/ruby/site_ruby/1.8 (ubygems.rb is in this directory)
> directories runs ruby finds the ubygems.rb
> 
> RubyDir/bin even runs all of the installed gems.
> 
> I'd like to install the tgz version of RubyGems but I can't run
> setup.rb because of the error.
> :(

unset RUBYOPT before you run the setup script. That should allow you
to set this up properly.

> It seems that RubyDir/bin holds the key somewhere to get ruby working.
> I'll do more investigation into this.

Technically, it's RubyGems which isn't working. RubyGems is a separate
project, currently not affiliated with the main Ruby project.

If what I suggested above doesn't work, I'm going to have to defer
this question to someone who knows more about the windows
installation.

HTH,
Mark