How do I get Ruby on Windows XP?

Discussion in 'Ruby' started by rayreeves, May 30, 2006.

  1. rayreeves

    rayreeves Guest

    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
     
    rayreeves, May 30, 2006
    #1
    1. Advertisements

  2. rayreeves

    Minkoo Seo Guest

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

    Sincerely,
    Minkoo Seo
     
    Minkoo Seo, May 30, 2006
    #2
    1. Advertisements

  3. rayreeves

    Dave Burt Guest

    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
     
    Dave Burt, May 30, 2006
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Szymon Drejewicz

    PostgreSQL, Ruby, FX Ruby and Windows XP

    Szymon Drejewicz, Sep 19, 2003, in forum: Ruby
    Replies:
    2
    Views:
    176
    Szymon Drejewicz
    Sep 19, 2003
  2. Useko Netsumi

    mysql-ruby for ruby 1.8.1 on windows ...

    Useko Netsumi, Jan 7, 2004, in forum: Ruby
    Replies:
    7
    Views:
    324
    Tim Sutherland
    Jan 10, 2004
  3. anne001
    Replies:
    1
    Views:
    980
  4. Brad
    Replies:
    2
    Views:
    166
    mully
    Feb 3, 2007
  5. Luis Lavena
    Replies:
    19
    Views:
    473
    Luis Lavena
    Jan 8, 2008
  6. Mmcolli00 Mom
    Replies:
    7
    Views:
    306
    Kyle Schmitt
    Apr 17, 2009
  7. Replies:
    0
    Views:
    301
  8. Replies:
    4
    Views:
    432
    Andreas Leitgeb
    Oct 12, 2013
Loading...