[TxMt] Re: TextMate::UI.request_confirmation fails; Ruby version in bundle scripts

Curt Sellmer sellmerfud at gmail.com
Sat Feb 8 15:59:38 UTC 2014


Thanks for the quick response.  The new version works beautifully.



On Sat, Feb 8, 2014 at 3:47 AM, Michael Sheets <mummer at whitefalls.org>wrote:

> On Feb 8, 2014, at 2:28 AM, Allan Odgaard <mailinglist at 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 at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140208/ec922fc3/attachment.html>


More information about the textmate mailing list