[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How do I get Ruby on Windows XP?

rayreeves

5/30/2006 6:35:00 PM

Ruby one-click installation on Ruby Forge justs gives me the runaround and
never lets me download anything.

ruby184-17_rc2.exe gives me a ruby.exe which produces a shell that doesn't
appear to listen to me.

Ray Reeves


2 Answers

minkoo.seo@gmail.com

5/30/2006 10:10:00 PM

0

Run irb.bat which is in 'bin' directory. It is an interactive
ruby program which is useful.

Sincerely,
Minkoo Seo

Dave Burt

5/30/2006 10:16:00 PM

0

rayreeves wrote:
> Ruby one-click installation on Ruby Forge justs gives me the runaround and
> never lets me download anything.
>
> ruby184-17_rc2.exe gives me a ruby.exe which produces a shell that doesn't
> appear to listen to me.

It's working.

Try typing "puts 'hello world'" (without the outer quotes) into that
prompt, press enter, type Ctrl+Z, enter again.

This is Ruby in "get a program from standard input" mode. You may find
it more useful to use IRB (interactive ruby; type "irb" from the Windows
command shell) or to put your program in a text file with the suffix .rb
and then run it:

C:\> copy con hello.rb
puts 'hello world'
^Z
C:\> hello.rb
hello world
C:\>

Cheers,
Dave