maintainer-feedback requested: [Bug 224560] [PATCH] devel/ruby-gems: update to 2.7.3
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 24 06:56:08 UTC 2017
Thibault Jouan <tj+freebsd_ports at a13.fr> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to ruby at FreeBSD.org:
Bug 224560: [PATCH] devel/ruby-gems: update to 2.7.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224560
--- Description ---
Created attachment 189073
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189073&action=edit
update to 2.7.3
I initially suggested this change on ruby mailing-list:
https://lists.freebsd.org/pipermail/freebsd-ruby/2017-November/007778.html
Since then I have been using RubyGems 2.7.1, 2.7.2, and now 2.7.3
(attached patch).
Most issues I listed in my original mail were fixed upstream:
https://github.com/rubygems/rubygems/commit/4053fda6d552f6ce13e56d922aeda3876d2
3f1fe
https://github.com/rubygems/rubygems/commit/4619f13a33642b132ebcc4e82772d89b4bc
ff0d3
https://github.com/rubygems/rubygems/commit/f5872d0e4d3c6553107086c9f73d81cd2b8
51e81
The last one is about RubyGems installing bundler gem
(sysutils/rubygem-bundler, http://bundler.io/) as "bundled gem". This
same concept exists in ruby, but the FreeBSD port has a patch to
prevent installing those gems, since they are provided as separate
ports.
The issue here is that the code to install this gem does not handle
--destdir option correctly, I attempted to fix it, but it requires
dedicated code for a specific OS under which I cannot test easily:
https://github.com/rubygems/rubygems/pull/2106
Anyway I'm not sure it's worth the trouble fixing it, because I assume
we do not want to install it for the FreeBSD port. So this update adds
a new patch to avoid installing "bundled gems":
devel/ruby-gems/files/patch-lib_rubygems_commands_setup__command.rb
I tested it successfully with a few gems, but far from all. Should I
try some kind of "exp-run" locally for all ports depending on
devel/ruby-gems?
More information about the freebsd-ruby
mailing list