Running an RB file causes IRB to flash and close?

Discussion in 'Ruby' started by Samuel Stewart, Dec 15, 2008.

  1. Hi, i'm a newbie to ruby, and i'm testing a script that simply does:

    puts "Test String"

    Although it works just fine, I barely have time to read it, as it
    flashes and closes almost imidiatly, I just cant seem to figure out the
    problem...

    I'm using Ruby-186-27.
    --
    Posted via http://www.ruby-forum.com/.
     
    Samuel Stewart, Dec 15, 2008
    #1
    1. Advertising

  2. Samuel Stewart

    Robert Dober Guest

    On Tue, Dec 16, 2008 at 12:11 AM, Samuel Stewart
    <> wrote:
    > Hi, i'm a newbie to ruby, and i'm testing a script that simply does:
    >
    > puts "Test String"
    >
    > Although it works just fine, I barely have time to read it, as it
    > flashes and closes almost imidiatly, I just cant seem to figure out the
    > problem...

    Inhibit your program from dying,

    puts "Test String"
    print "Can I rest in peace now ? >"
    gets

    Umberto Eco
    no that was not him!!!!
     
    Robert Dober, Dec 15, 2008
    #2
    1. Advertising

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. Xavier Osa
    Replies:
    0
    Views:
    636
    Xavier Osa
    Jan 9, 2004
  2. Sam Stephenson
    Replies:
    1
    Views:
    228
    Andrew Walrond
    Jun 18, 2005
  3. Replies:
    1
    Views:
    161
    Florian Groß
    Oct 26, 2005
  4. anne001
    Replies:
    1
    Views:
    276
    anne001
    Jun 27, 2006
  5. Iñaki Baz Castillo
    Replies:
    7
    Views:
    867
    Iñaki Baz Castillo
    Jan 12, 2010
Loading...

Share This Page