Hi,
I got all kinds of invalid multibyte char (US-ASCII) since I moved to ruby 1.9.1. Not sure how to fix these, any help much appreciated.
Show TODO List:
/Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:27:in `require': /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:44: invalid multibyte char (US-ASCII) (SyntaxError) /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:43: invalid multibyte char (US-ASCII) /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:43: syntax error, unexpected $end, expecting '}' install «#{command}». If you kno... ^ from /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:27:in `' from ruby:0:in `require'
Invoking rake from TextMate:
/Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RakeMate/rake_mate.rb:4:in `require': /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:30: invalid multibyte char (US-ASCII) (SyntaxError) /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:30: invalid multibyte char (US-ASCII) /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:30: syntax error, unexpected $end, expecting ')' ... #{e.message.sub(/`(\w+)'/, ''\1'').sub(/ -- /, ' — ')... ... ^ from /Users/jesnault/Desktop/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RakeMate/rake_mate.rb:4:in `'
Thanks Jean-Michel
On Jan 13, 2009, at 10:14 AM, Jean-Michel Esnault wrote:
Hi,
I got all kinds of invalid multibyte char (US-ASCII) since I moved to ruby 1.9.1. Not sure how to fix these, any help much appreciated.
TextMate commands aren't yet compatible with Ruby 1.9. You can still install Ruby 1.9, just install it somewhere so that the system ruby is the first thing on the path. You can also use ruby1.9 with the Ruby bundle by setting TM_RUBY to the path of the ruby executable you'd like to use.
—Alex
On Jan 13, 2009, at 12:25 PM, Alex Ross wrote:
On Jan 13, 2009, at 10:14 AM, Jean-Michel Esnault wrote:
Hi,
I got all kinds of invalid multibyte char (US-ASCII) since I moved to ruby 1.9.1. Not sure how to fix these, any help much appreciated.
TextMate commands aren't yet compatible with Ruby 1.9.
Actually, I've been working on this with the help of Dave Thomas. I believe we have most of the commands running now.
You can checkout the latest bundles to get the updates:
http://manual.macromates.com/en/bundles.html#getting_more_bundles
James Edward Gray II