Running an RB file causes IRB to flash and close?

S

Samuel Stewart

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.
 
R

Robert Dober

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!!!!
 

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,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top