On 29/09/2005, at 16.28, William M Shobe wrote:
Please excuse the simple question, but I am experimenting with TextMate and Ruby. The output from running a Ruby script goes to a stdout window. However, I can't figure out how to get input from the gets method. Is there any way to read from stdin when running a Ruby script from the Run Command>Ruby>Run Ruby menu?
Yes, this happens automatically, but stdin is redirected to read input from a dialog which should pop up whenever your script does a gets or similar.
-- Sune.