On Mon, Jan 11, 2010 at 2:29 PM, Jeff Andrews <span dir="ltr"><<a href="mailto:jeff.andrews@nuulogic.com">jeff.andrews@nuulogic.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hello all.<br>
<br>
I’ve looked through the archives and didn’t see anything resembling this problem so I’m sorry if it has already been addressed elsewhere.<br>
<br>
When using the autocomplete feature (option-escape) or other certain snippets in Textmate via either Ruby or Ruby on Rails, I receive the following error:<br>
<br>
/usr/local/lib/ruby/1.9.1/pathname.rb:270: warning: `*' interpreted as argument prefix<br>
/tmp/temp_textmate.0sHwXc:38:in `<main>': undefined method `to_a' for "":String (NoMethodError)<br>
<br>
What I’ve tried so far:<br>
</span></font><ol><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Reinstalled Textmate
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Reinstalled both Ruby and Ruby on Rails bundles. I tried the bundles from both the SVN and the github sources.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Set the TM_RUBY variable to point to my system installed 1.8.7 folder<br>
</span></font></li></ol><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br></span></font></div></blockquote><div><br></div><div>Jeff, what did you set the TM_RUBY variable to?</div><div><br>
</div><div>-Conrad</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">
It’s worth noting that snippets and autocomplete fails in other languages as well – PHP comes to mind. I’m new to using Textmate fulltime for development so this error is beyond confusing for me. This did not start happening until after I updated ruby from 1.8.7 to 1.9.1.<br>

<br>
Thanks in advance for any help you can offer.<br>
</span></font>
</div>


<br><br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br></blockquote></div><br>