# Running an RB file causes IRB to flash and close?

**URL:** <https://www.ruby-forum.com/t/running-an-rb-file-causes-irb-to-flash-and-close/155721>\
**Category:** Ruby\
**Created:** [December 16, 2008, 12:19am UTC](https://www.ruby-forum.com/t/running-an-rb-file-causes-irb-to-flash-and-close/155721 "2008-12-16T00:19:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shortnose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5ac83/32.png) [@shortnose](https://www.ruby-forum.com/u/shortnose)\
**Post date:** [December 16, 2008, 12:19am UTC](https://www.ruby-forum.com/t/running-an-rb-file-causes-irb-to-flash-and-close/155721/1 "2008-12-16T00:19:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![shortnose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5ac83/32.png) [@shortnose](https://www.ruby-forum.com/u/shortnose)\
**Post date:** [December 16, 2008, 12:44am UTC](https://www.ruby-forum.com/t/running-an-rb-file-causes-irb-to-flash-and-close/155721/2 "2008-12-16T00:44:47Z")

</div>

On Tue, Dec 16, 2008 at 12:11 AM, Samuel Stewart  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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!!!
