As of late (last month or so), I keep getting this error message every time I try to run basic bundle operations that use ruby under the hood. A typical example is "comment out" (apple-slash) (in C++ or Latex bundle) that replaces the corresponding text section with the error message.
I read the posts on this problem that date back to 2006 and could not solve the problem. I am running the latest version of Textmare (Version 1.5.8 (1498)) and a very recent version of ruby.
'which ruby' followed by Ctrl-r yields:
/usr/local/bin/ruby
ls -lh /usr/local/bin/ruby gives me:
-rwxr-xr-x 1 root wheel 13K Jun 4 15:04 /usr/local/bin/ruby
and /usr/local/bin/ruby -v produces:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]
I tried everything I could think of, including reinstalling Textmate, reinstalling ruby, and setting explicitely the TM_RUBY shell variable but to no avail.
Thanks in advance for any insight into the cause of this problem.
Xavier
Hello Xavier,
Just a hunch, but have you tried downgrading Ruby to 1.8.6 or 1.8.7?
As far as I know, version 1.9.1 is fairly new and includes some major changes, and while it is marked as stable, it might not be fully compatible with software that rely on older versions.
Again, this is just an educated guess ; you might want to visit http://www.ruby-lang.org/en/downloads/ to find out more on the subject and get a more definitive opinion.
Hope this helps, good luck !
-Thomas
Xavier Tricoche wrote:
As of late (last month or so), I keep getting this error message every time I try to run basic bundle operations that use ruby under the hood. A typical example is "comment out" (apple-slash) (in C++ or Latex bundle) that replaces the corresponding text section with the error message.
I read the posts on this problem that date back to 2006 and could not solve the problem. I am running the latest version of Textmare (Version 1.5.8 (1498)) and a very recent version of ruby.
'which ruby' followed by Ctrl-r yields:
/usr/local/bin/ruby
ls -lh /usr/local/bin/ruby gives me:
-rwxr-xr-x 1 root wheel 13K Jun 4 15:04 /usr/local/bin/ruby
and /usr/local/bin/ruby -v produces:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]
I tried everything I could think of, including reinstalling Textmate, reinstalling ruby, and setting explicitely the TM_RUBY shell variable but to no avail.
Thanks in advance for any insight into the cause of this problem.
Xavier
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hello,
In fact, Textmate was using /usr/bin/ruby (despite what the Ctrl-r trick reveals) which turns out to be a dead link on my machine (unclear why). Based on the feedback that I got, I restored that link to point to the 1.8.6. version that ships with Leopard. Problem fixed!
Thanks!
Xavier
On Jun 22, 2009, at 6:10 PM, Thomas Hennes (Pro) wrote:
Hello Xavier,
Just a hunch, but have you tried downgrading Ruby to 1.8.6 or 1.8.7?
As far as I know, version 1.9.1 is fairly new and includes some major changes, and while it is marked as stable, it might not be fully compatible with software that rely on older versions.
Again, this is just an educated guess ; you might want to visit http://www.ruby-lang.org/en/downloads/ to find out more on the subject and get a more definitive opinion.
Hope this helps, good luck !
-Thomas
Xavier Tricoche wrote:
As of late (last month or so), I keep getting this error message every time I try to run basic bundle operations that use ruby under the hood. A typical example is "comment out" (apple-slash) (in C++ or Latex bundle) that replaces the corresponding text section with the error message.
I read the posts on this problem that date back to 2006 and could not solve the problem. I am running the latest version of Textmare (Version 1.5.8 (1498)) and a very recent version of ruby.
'which ruby' followed by Ctrl-r yields:
/usr/local/bin/ruby
ls -lh /usr/local/bin/ruby gives me:
-rwxr-xr-x 1 root wheel 13K Jun 4 15:04 /usr/local/bin/ruby
and /usr/local/bin/ruby -v produces:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]
I tried everything I could think of, including reinstalling Textmate, reinstalling ruby, and setting explicitely the TM_RUBY shell variable but to no avail.
Thanks in advance for any insight into the cause of this problem.
Xavier
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jun 22, 2009, at 11:07 AM, Xavier Tricoche wrote:
As of late (last month or so), I keep getting this error message every time I try to run basic bundle operations that use ruby under the hood. A typical example is "comment out" (apple-slash) (in C++ or Latex bundle) that replaces the corresponding text section with the error message.
What if you use the non-overriden comment out command, say in just a plain text file? Do you get the same error message for that?
James Edward Gray II
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?
On Jun 23, 2009, at 2:09 PM, Martin Hess wrote:
- Am I trying to use 1.9.1 too early?
Probably not. We're converting over bit by bit. Some things we've found. Others we haven't.
- Is the lack of # encode just the tip of the iceberg in terms of
problems with moving to 1.9.1?
There can be other issues, sure.
The best thing to do would most likely be to fire some bugs at the maintainers of the Git bundle, since that doesn't seem to be us.
James Edward Gray II
On Jun 22, 2009, at 6:07 PM, Xavier Tricoche wrote:
As of late (last month or so), I keep getting this error message every time I try to run basic bundle operations that use ruby under the hood. A typical example is "comment out" (apple-slash) (in C++ or Latex bundle) that replaces the corresponding text section with the error message.
I read the posts on this problem that date back to 2006 and could not solve the problem. I am running the latest version of Textmare (Version 1.5.8 (1498)) and a very recent version of ruby.
'which ruby' followed by Ctrl-r yields:
/usr/local/bin/ruby
ls -lh /usr/local/bin/ruby gives me:
-rwxr-xr-x 1 root wheel 13K Jun 4 15:04 /usr/local/bin/ruby
and /usr/local/bin/ruby -v produces:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]
I tried everything I could think of, including reinstalling Textmate, reinstalling ruby, and setting explicitely the TM_RUBY shell variable but to no avail.
Thanks in advance for any insight into the cause of this problem.
Xavier
I have not been able to get the bundles to work with ruby 1.9.1 either . I had to manually uninstall it.
---------------------------------- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren tommy.nordgren@comhem.se
On Jun 22, 2009, at 7:12 PM, Tommy Nordgren wrote:
I have not been able to get the bundles to work with ruby 1.9.1 either . I had to manually uninstall it.
Just a small note to say that I've only ever used Ruby 1.9 with TextMate. It was rough sledding at first, but James Gray committed a lot of fixes around 1.9 release time.
Right now, I have only a couple things that don't work in 1.9: the Factor language bundle (uses the Ruby Cocoa library), and the viewing of Man pages via the Dialogue window. With these, I've been too lazy to find out what's wrong, and just run 1.86 for them.
Best, Charles