Hi,
I'm not sure whether somebody has asked this before, but what is the current status of Ruby bundle compatibility with 1.9, at least for execution in TM preview window?
I'm trying to execute simple ruby script with ⌘R:
#!/usr/local/bin/ruby-1.9 puts "Ala ma kota".reverse
I get:
RubyMate r8136 running Ruby r1.9.0 (/usr/local/bin/ruby-1.9) >>> test.rb :0:in `require': /Applications/TextMate.app/Contents/SharedSupport/ Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: invalid multibyte char (SyntaxError) /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: invalid multibyte char /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: syntax error, unexpected $end, expecting ')' ...ML e.message.sub(/`(\w+)'/, '‘\1’').sub(/ -- /, ' — ')... ... ^ Program exited.
AFAIK 1.9 is getting closer towards stable release, so the final syntax, and for sure it is much faster than 1.8, so for executing some simple tasks but time consuming tasks it may be a good alternative to 1.8.
Cheers,
On May 1, 2008, at 3:48 PM, Adam Strzelecki wrote:
I'm not sure whether somebody has asked this before, but what is the current status of Ruby bundle compatibility with 1.9, at least for execution in TM preview window?
Well, 1.9 is currently in a test, non-stable release. I monitor the changes to the language and it's still a moving target at this point for sure.
The first production release is expected this Christmas, so we still have a solid seven months before it's in most people's hands. I'm sure that's the time when I personally would address compatibility issues for TextMate.
If you don't want to wait that long, we take patches. :)
The problem you show seems to be an encoding issue triggered by the fact that we have some UTF-8 in the Exception printing code. This upsets Ruby's new m17n implementation, which is the biggest new thing most Ruby's will need to adjust to. Give us a little more time to get up to speed on all of the new toys please. :)
James Edward Gray II
On May 1, 2008, at 5:45 PM, Adam Strzelecki wrote:
The first production release is expected this Christmas, ...
I thought it was suppose to be last Christmas ;) but it has turned out to be 1.9.0 not 1.9.1, and not stable. Do you have some fresh source for Ruby's schedule?
I read the Ruby Core mailing list and listen to or read most of Matz's presentations. I'm pretty sure those are the sources where I heard that time frame.
James Edward Gray II
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On May 2, 2008, at 4:36 AM, James Gray wrote:
On May 1, 2008, at 5:45 PM, Adam Strzelecki wrote:
The first production release is expected this Christmas, ...
I thought it was suppose to be last Christmas ;) but it has turned out to be 1.9.0 not 1.9.1, and not stable. Do you have some fresh source for Ruby's schedule?
I read the Ruby Core mailing list and listen to or read most of Matz's presentations. I'm pretty sure those are the sources where I heard that time frame.
James Edward Gray II
Actually, at EuRuKo 2008 questions towards a stable, feature-complete release were answered with "don't know". :/
Regards, Florian Gilcher