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.
On Jan 7, 2021, at 4:13 AM, Jacob Carlborg via TextMate textmate@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/shar... 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.
On 7 Jan 2021, at 18:23, Michael Sheets via TextMate textmate@lists.macromates.com wrote:
This is the ruby20 command:
https://github.com/textmate/bundle-support.tmbundle/blob/master/Support/shar... 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.
Aha, I see. I thought it could download other versions as well. It’s not that important, I just thought it would be nice to use the latest version.
Well, it’s easy to use the latest version for running _your_ scripts. m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 14! https://www.oreilly.com/library/view/programming-ios-14/9781492092162/ iOS 14 Fundamentals! https://www.oreilly.com/library/view/ios-14-programming/9781492092087/ RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
On Jan 8, 2021, at 8:32 AM, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
On 7 Jan 2021, at 18:23, Michael Sheets via TextMate textmate@lists.macromates.com wrote:
This is the ruby20 command:
https://github.com/textmate/bundle-support.tmbundle/blob/master/Support/shar...
All it does it link to the system supplied version of Ruby, only the ruby18 command installs a version of ruby.
Aha, I see. I thought it could download other versions as well. It’s not that important, I just thought it would be nice to use the latest version.
-- /Jacob Carlborg
TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com