Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > How do I get Ruby on Windows XP?

Reply
Thread Tools

How do I get Ruby on Windows XP?

 
 
rayreeves
Guest
Posts: n/a
 
      05-30-2006
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


 
Reply With Quote
 
 
 
 
Minkoo Seo
Guest
Posts: n/a
 
      05-30-2006
Run irb.bat which is in 'bin' directory. It is an interactive
ruby program which is useful.

Sincerely,
Minkoo Seo

 
Reply With Quote
 
 
 
 
Dave Burt
Guest
Posts: n/a
 
      05-30-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
[ANN] ruby bounties--get paid to hack on ruby rogerdpack Ruby 0 01-20-2010 05:47 PM
How can I get the Ruby version from within a Ruby script? Paul Ruby 7 07-16-2007 05:42 PM
#!/usr/bin/ruby , #!/usr/bin/ruby -w , #!/usr/bin/ruby -T?, #!/usr/bin/ruby -T1... anne001 Ruby 1 04-23-2006 03:02 PM



Advertisments