[TxMt] Re: TextMate has ruby version (1.9.3) configured but bundle action still uses ruby system version (1.8.7)

Allan Odgaard mailinglist at textmate.org
Sun Jun 16 02:57:12 UTC 2013


On Jun 14, 2013, at 21:22, aliezer <aliwam07 at yahoo.fr> wrote:

> […] When executing the command to check the shebang, I get this :
> /Users/alilalouch/.rvm/gems/ruby-1.9.3-p429/bin/sass-convert
> #!/usr/bin/env ruby_noexec_wrapper
> 
> As a workaround, I installed sass  for the ruby system version, the bundle
> actions now works.
> 
> If you have a fix or if I did something wrong, please let me know.

I think installing for 1.8 is the best workaround. The rvm version has a shebang that’ll use first ruby found via PATH, but does not work with the system ruby. In contrast, the sass-convert installed via /usr/bin/gem has a shebang that explicitly points to the system’s own ruby (1.8).

Since sass-convert was installed explicitly for ruby-1.9.3-p429 it probably should point directly to this ruby in its shebang, though this would be a question for the rvm/gem maintainers.



More information about the textmate mailing list