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