How do I get Ruby on Windows XP?

R

rayreeves

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
 
M

Minkoo Seo

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

Sincerely,
Minkoo Seo
 
D

Dave Burt

rayreeves said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top