Created attachment 200630 [details]
Initial ruby26 patch
As per this thread on the ports mailing list work has been started by Yasuhiro KIMURA to create a lang/ruby26 port. As per the mailing list discussion it has been proposed to no longer exclude rake, gem, minitest, and bundler from the main port.
Attached is the initial patch proposal, it builds and the ruby runtime seems to work on both 12-RELEASE and 13-CURRENT (amd64). There is an issue with running bundler26 though that will need to be resolved:
Traceback (most recent call last):
2: from /usr/local/bin/bundle26:23:in `<main>'
1: from /usr/local/lib/ruby/2.6/rubygems.rb:302:in `activate_bin_path'
/usr/local/lib/ruby/2.6/rubygems.rb:283:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
Filing this PR as a starting place for discussion on getting ruby26 into the ports tree. To apply the patch copy lang/ruby25/ to lang/ruby26/, then apply and build.
(In reply to pete from comment #0)
Link to original mailing list discussion:
Thank you for your contribution
A work in progress like this is likely better suited to a Phabricator review/differential, until it is 'ready'. Happy for this issue to continue to exist as a central coordination point though.
Could you please:
- Create a review
- Add the review URL here
- Obsolete the existing attachment
*** Bug 235826 has been marked as a duplicate of this bug. ***
I'll create a review based on pete and Yasuhiro Kimura's work.
Could not submit a review due to 233177. Is there any phabricator alternatives?
All dependent bugs are solved. Ready to land.
It seems nobody is interested in Ruby 2.6 :(
A commit references this bug:
Date: Thu May 9 01:28:40 UTC 2019
New revision: 501068
Add ruby26 2.6.3 (copied from ruby25)
PR: 234509 235826
Submitted by: firstname.lastname@example.org (initial revision)
Yasuhiro KIMURA <email@example.com> (initial revision)
meta (myself, minor modifications)
Differential Revision: https://reviews.freebsd.org/D19961
Committed, thank you both for your great work!