From: gabriele renzi Date: 2005-10-31T02:37:06+09:00 Subject: Re: 1.8.4 preview1 win32 error simonharrison@email.com 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