Bug 251741 - lang/ruby30: Update to 3.0.0
Summary: lang/ruby30: Update to 3.0.0
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL: https://www.ruby-lang.org/en/news/202...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-10 19:17 UTC by Yasuhiro Kimura
Modified: 2021-01-07 16:01 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
Patch file (279.39 KB, patch)
2020-12-10 19:17 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (331.63 KB, patch)
2020-12-20 19:52 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (345.18 KB, patch)
2020-12-25 07:56 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura 2020-12-10 19:17:47 UTC
Created attachment 220438 [details]
Patch file

* Update to 3.0.0-preview2.
* Don't install erb command and its man page.
  files/patch-tool_rbinstall.rb makes bundled gems not installed. And
  it makes erb broken. We should create rubygem-erb port. But
  unfortunately devel/ruby-gems is currently broken with Ruby 3.0.
* Don't create symbolic link for erb and its manpage.
* Install bundler files other than bin/bundle and bin/bundler

Release Note: https://www.ruby-lang.org/en/news/2020/12/08/ruby-3-0-0-preview2-released/
Comment 1 Yasuhiro Kimura 2020-12-20 19:52:00 UTC
Created attachment 220762 [details]
Updated patch file

New version 3.0.0-rc1 is released.

Release Note: https://www.ruby-lang.org/en/news/2020/12/20/ruby-3-0-0-rc1-released/
Comment 2 Yasuhiro Kimura 2020-12-25 07:56:09 UTC
Created attachment 220907 [details]
Updated patch file

New version 3.0.0 is released.

Release Note: https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
Comment 3 Sunpoet Po-Chuan Hsieh freebsd_committer 2021-01-07 16:01:00 UTC
(In reply to Yasuhiro Kimura from comment #0)

> * Install bundler files other than bin/bundle and bin/bundler

I've prepared 2 ruby30 patchs (with/without bundler). I'd like to know what you think about the change from removing bundler files to keeping them.

(In reply to Yasuhiro Kimura from comment #2)

> Created attachment 220907 [details]

There are some %%RUBY_SUFFIX%% in PLIST entries of capidoc which should be changed to 30.

The PLIST is not well-sorted. The bundler entries are out of order.


BTW, are you working on ruby-gems 3.2.4 update? I still cannot make it work with Ruby 3.0.