Re: 1.8.4 preview1 win32 error
- From: gabriele renzi <surrender_it@xxxxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 17:36:35 GMT
simonharrison@xxxxxxxxx ha scritto:
I've downloaded the binary release from garbagecollect.jp and now irb and ri won't work. here's the error message when I type 'irb':
C:\ruby\bin\ruby: no such file to load -- ubygems (LoadError)
same error message when I try 'ri Array'
typing 'ruby -v' gives this:
ruby 1.8.4 (2005-10-29) [i386-mswin32]
any ideas anyone?
I think that maybe you had the old one-click-installer installed, which set up the RUBYOPT environment variable to "rubygems" (aka "-r ubygems")
If you don't have rubygems installed in the site_ruby directory for the new packages, whenever you launch a ruby program it will try to load the ubygems.rb file and fail to find it.
You can try reinstalling rubygems or removing the rubyopt env variable.
HTH .
- References:
- 1.8.4 preview1 win32 error
- From: simonharrison
- 1.8.4 preview1 win32 error
- Prev by Date: Re: Which Ruby Version?
- Next by Date: [ANN] traits-0.8.0 - better living through meta-programming
- Previous by thread: Re: 1.8.4 preview1 win32 error
- Next by thread: Re: 1.8.4 preview1 win32 error
- Index(es):
Relevant Pages
|