From: Stefan Lang Date: 2005-07-23T01:49:43+09:00 Subject: Re: Ruby 1.9 mswin32 Installation and a Problem On Friday 22 July 2005 18:10, Wolfgang N�dasi-Donner wrote: > After installing the package for Ruby 1.9 (extracting > ruby-1.9.0-20050722-i386-mswin32.zip and adding bin-directory to PATH) I > started it and got the following error Message (Example): > > H:\Dokumente und Einstellungen\interwolf\Desktop>ruby -e'puts "Hello"' > ruby: no such file to load -- ubygems (LoadError) > > H:\Dokumente und Einstellungen\interwolf\Desktop>ruby --version > ruby 1.9.0 (2005-07-22) [i386-mswin32] > > What went wrong? The RUBYOPT environment variable is set from another Ruby installation. Unset it first and then try again to run ruby. Something like: % set RUBYOPT= % ruby -e "puts 'Hello'" I'm not a Windows Guru, but I think that you have to modify the registry to unset RUBYOPT permanent. HTH, Stefan