Hello all.
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.
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:
/usr/local/lib/ruby/1.9.1/pathname.rb:270: warning: `*' interpreted as argument prefix
/tmp/temp_textmate.0sHwXc:38:in `<main>': undefined method `to_a' for "":String (NoMethodError)
What I’ve tried so far:
- Reinstalled Textmate
- Reinstalled both Ruby and Ruby on Rails bundles. I tried the bundles from both the SVN and the github sources.
- Set the TM_RUBY variable to point to my system installed 1.8.7 folder
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.
Thanks in advance for any help you can offer.