Works better with TM_RUBY set.
Thanks, Jean-Michel
On Wed, Jan 14, 2009 at 3:29 AM, <textmate->
Message: 1 Date: Tue, 13 Jan 2009 10:14:14 -0800 From: Jean-Michel Esnault jesnault@gmail.com Subject: [TxMt] plagued with invalid multibyte char (US-ASCII) since moving to ruby 1.9.1 To: textmate@lists.macromates.com Message-ID: 2eef5a030901131014o1d7dab46tcbeef14e033c57a8@mail.gmail.com Content-Type: text/plain; charset=windows-1252
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
Message: 2 Date: Tue, 13 Jan 2009 10:25:37 -0800 From: Alex Ross tm-alex@rosiba.com Subject: [TxMt] Re: plagued with invalid multibyte char (US-ASCII) since moving to ruby 1.9.1 To: TextMate users textmate@lists.macromates.com Message-ID: 9CBC6686-FDCF-46DB-A04B-80055FC47E4F@rosiba.com Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes
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
Message: 3 Date: Tue, 13 Jan 2009 12:52:18 -0600 From: James Gray james@grayproductions.net Subject: [TxMt] Re: plagued with invalid multibyte char (US-ASCII) since moving to ruby 1.9.1 To: TextMate users textmate@lists.macromates.com Message-ID: 3AA8732E-67A1-432E-A184-000E68BF473F@grayproductions.net Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
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