Thanks for the quick response. The new version works beautifully.
On Sat, Feb 8, 2014 at 3:47 AM, Michael Sheets mummer@whitefalls.orgwrote:
On Feb 8, 2014, at 2:28 AM, Allan Odgaard mailinglist@textmate.org wrote:
[…] go_to_alternate_file.rb […] The first line of the this file is #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby […] Am I missing something?
The commands which call this script do so by using "${TM_RUBY:-ruby}"
(effectively ignoring the script’s shebang).
The reason they do that is (as I understand it) intentional, as the
Rails bundle may load stuff from the user’s project (for member file queries etc.), and therefor should use the version of ruby that the user normally uses.
I’ve just deployed a change where we now use Ruby 1.8 for all bundle commands that don’t load rails itself. This should solve many of the issues. The commands that do load rails still use TM_RUBY so there are still the problems described by Allan there.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate