It runs but doesn't pause for a input. Here is the Terminal output

michael@michael-desktop:~/Desktop$ ruby<weins.txt
Enter number: enter a number please.
Enter number: Bye!
michael@michael-desktop:~/Desktop$

                 Mike

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