On Jan 7, 2021, at 4:13 AM, Jacob Carlborg via TextMate
<textmate(a)lists.macromates.com> wrote:
Ruby 3 has recently been released. Could we get support for Ruby 3 for using in bundle
development? I’m referring to the shebang (#!/usr/bin/env ruby20) that one can specify for
the language implementation of a bundle command. This shebang is somehow recognized by
TextMate and it will automatically download the specified Ruby version if it’s not already
installed.
This is the ruby20 command:
https://github.com/textmate/bundle-support.tmbundle/blob/master/Support/sha…
<https://github.com/textmate/bundle-support.tmbundle/blob/master/Support/shared/bin/ruby20>
All it does it link to the system supplied version of Ruby, only the ruby18 command
installs a version of ruby. Don’t see any reason to add a ruby30 command until it is
system supplied. Any benefits 3.0’s use in a bundle item would likely be outweighed by is
low availability outside of running code directly which can be done with TM_RUBY. Of
course for extreme cases nothing prevents a bundle item linking more directly with a
home-brew/etc supplied version.