Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70961 - [rubygems] override Gem.default_dir to fix inconsistencies
Attached to Project:
Arch Linux
Opened by Felipe Contreras (felipec) - Thursday, 20 May 2021, 20:51 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 21 May 2021, 07:25 GMT
Opened by Felipe Contreras (felipec) - Thursday, 20 May 2021, 20:51 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 21 May 2021, 07:25 GMT
|
DetailsIn the Ruby wiki page users are told to set GEM_HOME in order to avoid inconsistencies between `gem` and `bundler` (and also the issue with a user `~/.gemrc`).
This is because the rubygems project has refused to fix the problem for more than 10 years (for the first report of many see https://github.com/rubygems/bundler/issues/710). The Arch Linux task FS#68757 suggested to set GEM_HOME in /etc/profile.d, which is an easy and safe fix, but devolved into unnecessary personal attacks. Another solution is to override `Gem.default_dir` by providing an operating_system.rb like Fedora does: https://src.fedoraproject.org/rpms/rubygems/raw/rawhide/f/operating_system.rb We don't need such an overly complicated code, I'm providing a simple version of operating_system.rb that fixes all the issues and works perfectly fine on my system. With this there's no need for any /etc/gemrc. |
This task depends upon

This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

What has been decided for this issue?