Re: 1.8.4 preview1 win32 error



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
.



Relevant Pages

  • Re: openSUSE 11.1, KDE4, YaST2
    ... After a clean install of openSUSE 11.1, I can no longer do this within ... Somehow got in, like 'Beagle', while installing more packages). ... I can now launch any modules. ...
    (alt.os.linux.suse)
  • Re: CygWin installation troube....
    ... you have just to launch it and follow ... Once time the package are selected, install them. ... download the packages from Internet. ...
    (linux.redhat.misc)
  • openSUSE 11.1, KDE4, YaST2
    ... I have been launching YaST2 from a terminal in whatever window manager ... Somehow got in, like 'Beagle', while installing more packages). ... I can now launch any modules. ...
    (alt.os.linux.suse)
  • Re: adding firefox to this gui menu
    ... it's not gnome, it's the java one. ... SFW* packages ... launch menu? ...
    (comp.unix.solaris)
  • Re: [Suspected Spam] Re: yum doesnt remove old package files
    ... Il Thursday 29 November 2007 12:40:01 Joachim Backes ha scritto: ... Is there a way to purge entirely old packages? ...
    (Fedora)