<HTML>
<HEAD>
<TITLE>Textmate and Ruby 1.9.1 Issue</TITLE>
</HEAD>
<BODY>
<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><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><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></OL><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
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>
</BODY>
</HTML>