<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 30, 2005, at 10:15 AM, <A href="mailto:textmate-request@lists.macromates.com">textmate-request@lists.macromates.com</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 49px; text-indent: -49px; font: normal normal normal 14px/normal Helvetica; color: rgb(0, 0, 0); min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 49px; text-indent: -49px; "><FONT face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><B>From: </B></FONT><FONT face="Helvetica" size="4" style="font: 14.0px Helvetica">Allan Odgaard <<A href="mailto:allan@macromates.com">allan@macromates.com</A>></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 46px; text-indent: -46px; "><FONT face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><B>Date: </B></FONT><FONT face="Helvetica" size="4" style="font: 14.0px Helvetica">September 30, 2005 10:14:31 AM EDT</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; "><FONT face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><B>To: </B></FONT><FONT face="Helvetica" size="4" style="font: 14.0px Helvetica">TextMate users <<A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A>></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 66px; text-indent: -66px; "><FONT face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><B>Subject: </B></FONT><FONT face="Helvetica" size="4" style="font: 14.0px Helvetica"><B>Re: [TxMt] Re: Input from gets in Ruby (Sune Foldager)</B></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 77px; text-indent: -77px; "><FONT face="Helvetica" size="4" color="#000000" style="font: 14.0px Helvetica; color: #000000"><B>Reply-To: </B></FONT><FONT face="Helvetica" size="4" style="font: 14.0px Helvetica">TextMate users <<A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A>></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 30/09/2005, at 16.09, William M Shobe wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have tried using gets and no input dialog pops up.<SPAN class="Apple-converted-space">  </SPAN>Here is my code:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">puts "this is a test"</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">puts gets</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">puts "end of test"</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I use Run Ruby, and here is the output:</DIV> <BR></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Works for me -- using latest build (<A href="http://get.textmate.org">http://get.textmate.org</A>/):</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cmd N (new buffer)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Paste previous 3 lines</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">option-ctrl-shift R (switch to Ruby)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cmd R (Run Ruby)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">And this is what I see:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BR><SPAN><DIV><pastedGraphic.png></DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Entering a string and pressing return outputs the strings and finishes the program.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV></BLOCKQUOTE></DIV><BR><DIV>The latest build works!  Thank you.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Bill</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>PS When I download the latest build, there is a second file called "mate".  Is there something I need to do with this file?</DIV><DIV><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 10.7px;"></SPAN></FONT></DIV></BODY></HTML>