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.
Jamis, tried installing rubygems 0.8.11 but no joy. is rubygems now
part of standard distribution? if so what version? i don't want to go
back to 1.8.2. please help!
Thanks Gabrielle, you are right. did have the one click installer.
removed the env variable you suggested. new error message now. think it
may be dll related:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
SUSE 9.2, but I always installed Ruby from source,
since SUSE 9.2 comes with Ruby 1.6.8.
IIRC, Gentoo also had/has a non default site ruby directory.
Regards,
Stefan
···
On Sunday 30 October 2005 18:37, Trans wrote:
Stefan Lang wrote:
> On Sunday 30 October 2005 18:22, Trans wrote:
> > Ruby 1.8.4 has move lib path it seems.
>
> No, at least not on my (Linux) system.
So its a Debian thing? What linux are you running?