Hi All,
i'm getting errors when trying to use comands from the rails bundle. likei: /Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: invalid multibyte char (US-ASCII) /Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: invalid multibyte char (US-ASCII) /Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: syntax error, unexpected $end, expecting ')' ...Mate.exit_show_tool_tip("The ‘create partial from selectio... ... ^
I am using latest edge, so http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't it.
my ruby_path his /Users/Administrator/.rvm/bin/textmate_ruby
On 15 Aug 2010, at 22:06, David Clark wrote:
i'm getting errors when trying to use comands from the rails bundle. like [...]
I am using latest edge, so http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't it.
Just to be sure, did you check the about window? What revision number is given there?
Cause it sounds like your problem is exactly what is mentioned in that ticket.
On Tue, Aug 17, 2010 at 1:54 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 15 Aug 2010, at 22:06, David Clark wrote:
i'm getting errors when trying to use comands from the rails bundle. like [...]
I am using latest edge, so http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't it.
Just to be sure, did you check the about window? What revision number is given there?
Cause it sounds like your problem is exactly what is mentioned in that ticket.
that isw the thing - I have Version 1.5.9 (1589)
On 18 Aug 2010, at 03:45, David Clark wrote:
On Tue, Aug 17, 2010 at 1:54 PM, Allan Odgaard <mailinglist@textmate.org
wrote: On 15 Aug 2010, at 22:06, David Clark wrote:
i'm getting errors when trying to use comands from the rails bundle. like [...]
I am using latest edge, so http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't it.
Just to be sure, did you check the about window? What revision number is given there?
Cause it sounds like your problem is exactly what is mentioned in that ticket.
that isw the thing - I have Version 1.5.9 (1589)
Looking at the file in question:
http://github.com/drnic/ruby-on-rails-tmbundle/blob/master/Support/bin/creat...
This file does not declare its encoding and does use non-ASCII (at line 17) so this *will* break on ruby 1.9.
You can add an encoding header at the top and send a pull request. Alternatively setup TextMate not to use your ruby 1.9 install (that is probably the safer choice, since this is unlikely the only thing not “ready” for 1.9).