[TxMt] Re: Textmate and Ruby 1.9.1 Issue

Jeff Andrews jeff.andrews at nuulogic.com
Mon Jan 11 23:32:34 UTC 2010

Thanks to both of you for the answers.

Conrad, I set the variable to /usr/bin/ruby. I think that's the OS X default
location. It did not seem to have any effect one way or the other.

James, the other errors come from seemingly random snippet completions. Good

mtab-> in a Ruby on Rails migration
Choose option 1 (Create / Drop Table)

/Users/jandrewz/Library/Application Support/TextMate/Pristine
Copy/Bundles/Ruby on
Rails.tmbundle/Support/bin/intelligent_migration_snippet.rb:71:in /bin/bash:
-c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of fileto_a' for "\n\n
def self.down\n    drop_table :tags\n  end\nend\n":String (NoMethodError)
  from /Users/jandrewz/Library/Application Support/TextMate/Pristine
Copy/Bundles/Ruby on

The above error isn't cut off by copy / paste - that's literally where it

Similarly, if I navigate through the menus while in any Ruby on Rails file,
I can select the option Ruby on Rails -> Fixtures -> Authcomplete Fixture
Reference and find this gem:

/Users/jandrewz/Library/Application Support/TextMate/Pristine
Copy/Bundles/Ruby on Rails.tmbundle/Support/lib/rails/inflector.rb:109:in
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of fileempty?' for
nil:NilClass (NoMethodError)
  from /Users/jandrewz/Library/Application Support/TextMate/Pristine
Copy/Bundles/Ruby on
Rails.tmbundle/Support/bin/fixture_auto_complete.rb:22:in /bin/bash: -c:
line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of file<main>'

Now, I commonly use mtab and the others so that one is actually useful to
me. I found the fixtures command while looking to see what else wasn't
working. I commonly write out most of that stuff by hand anyway.

Thanks again for the replies,


On 1/11/10 5:00 PM, "James Edward Gray II" <james at graysoftinc.com> wrote:

> On Jan 11, 2010, at 4:29 PM, Jeff Andrews wrote:
>> Hello all.
> Hello.
>> 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)
> We used a Ruby library to get the autocomplete feature, but it's not 1.9
> compatible and I doubt it will be updated.  I've actually considered removing
> that commands since it just doesn't work in enough contexts.
> What were the "other snippets" you were referring to though?
> James Edward Gray II
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

More information about the textmate mailing list