On Sep 30, 2005, at 10:15 AM, textmate-request@lists.macromates.com wrote:


From: Allan Odgaard <allan@macromates.com>
Date: September 30, 2005 10:14:31 AM EDT
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Re: Input from gets in Ruby (Sune Foldager)
Reply-To: TextMate users <textmate@lists.macromates.com>


On 30/09/2005, at 16.09, William M Shobe wrote:


I have tried using gets and no input dialog pops up.  Here is my code:

puts "this is a test"
puts gets
puts "end of test"

I use Run Ruby, and here is the output:


Works for me -- using latest build (http://get.textmate.org/):

cmd N (new buffer)
Paste previous 3 lines
option-ctrl-shift R (switch to Ruby)
cmd R (Run Ruby)

And this is what I see:


<pastedGraphic.png>

Entering a string and pressing return outputs the strings and finishes the program.



The latest build works!  Thank you.

Bill

PS When I download the latest build, there is a second file called "mate".  Is there something I need to do with this file?