Help with 1.8.7 Binary under MS Windows

Hello,

Since I could not find the “1-click” package for 1.8.7, I downloaded its
binary.
I proceeded to remove 1.8.6 and extracted 1.8.7 in its place.
So I have a dir strcuture of:

c:\ruby

C:>cd ruby
C:\ruby>dir
Volume in drive C has no label.
Volume Serial Number is 289C-FD52
Directory of C:\ruby
08/05/2008 08:53 AM .
08/05/2008 08:53 AM …
08/05/2008 08:52 AM bin
08/05/2008 08:52 AM doc
08/05/2008 08:52 AM lib
08/05/2008 08:53 AM man
06/02/2008 01:58 AM 649,528 MANIFEST
06/02/2008 01:51 AM 1,282 README.1st
08/05/2008 08:29 AM Ruby-1.8.6 and much more *(I
actually moved 1.8.6 to this dir)
*08/05/2008 08:53 AM share
2 File(s) 650,810 bytes
9 Dir(s) 115,489,136,640 bytes free
C:\ruby>

ruby -v
ruby 1.8.7 (2008-05-31 patchlevel 0) [i386-mswin32]

However when I try to test it by invoking the simplest pgm of all, I get
the
following error:

ruby qt.rb
ruby: no such file to load – ubygems (LoadError)

cat qt.rb
puts “Hello World!”

Could anyone tell me what I did wrong here?

BTW, I am trying 1.8.7 because I wanted to use the delete method: *
a.delete(“value”)* and it looks like this is not found on 1.8.6.

Thank you

Victor

On Tue, Aug 5, 2008 at 15:06, Victor R. [email protected]
wrote:

C:\ruby>dir
06/02/2008 01:51 AM 1,282 README.1st
However when I try to test it by invoking the simplest pgm of all, I get the
BTW, I am trying 1.8.7 because I wanted to use the delete method: *
a.delete(“value”)* and it looks like this is not found on 1.8.6.

Thank you

Victor

install rubygems. (download the tarball/zip, unpack, start setup.rb –
but check the docs)
or unset %RUBYOPT% (set RUBYOPT=)

Jano

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs