[TxMt] Running TextMate bundles under Ruby 1.9.1

Martin Hess martinhess at me.com
Tue Jun 23 19:09:10 UTC 2009


Boldly (or foolishly) I aliased Ruby to the 1.9.1 equivalents. My  
thinking was "it has been 6 months, surely everything is working under  
1.9.1 by now".

Well....

Immediately I ran into a problem with the Git bundle. It so happens it  
was the same problem I've run into recently with a Gem -- multibyte.

I'm sure the problem is a lack of # encode utf-8 at the top of the  
offending file.

/Applications/TextMate.app/Contents/SharedSupport/Bundles/Git.tmbundle/ 
Support/environment.rb:5:in `require': /Applications/TextMate.app/ 
Contents/SharedSupport/Bundles/Git.tmbundle/Support/tmvc/../lib/ 
date_helpers.rb:36: invalid multibyte char (US-ASCII) (SyntaxError) / 
Applications/TextMate.app/Contents/SharedSupport/Bundles/Git.tmbundle/ 
Support/tmvc/../lib/date_helpers.rb:36: invalid multibyte char (US- 
ASCII) /Applications/TextMate.app/Contents/SharedSupport/Bundles/ 
Git.tmbundle/Support/tmvc/../lib/date_helpers.rb:36: syntax error,  
unexpected $end, expecting keyword_end when 20..39 then '½ minute' ^  
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ 
Git.tmbundle/Support/environment.rb:5:in `block in ' from / 
Applications/TextMate.app/Contents/SharedSupport/Bundles/Git.tmbundle/ 
Support/environment.rb:4:in `each' from /Applications/TextMate.app/ 
Contents/SharedSupport/Bundles/Git.tmbundle/Support/environment.rb: 
4:in `' from /tmp/temp_textmate.UDEe6e:3:in `require' from /tmp/ 
temp_textmate.UDEe6e:3:in `'

2 questions:

1) Am I trying to use 1.9.1 too early?
2) Is the lack of # encode just the tip of the iceberg in terms of  
problems with moving to 1.9.1?


More information about the textmate mailing list