This is not as correct as the other approaches, but you can also end 
your code with "getc" then the program will pause until you press enter.

John Budd wrote:
> When ever I run a code file .rb
> 
> The code,
> 
> puts "Hello"
> 
> I get the command prompt that flashes for a moment but does not stay up.
> 
> 
> How do I fix this.

-- 
Posted via http://www.ruby-forum.com/.