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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Opened by Felipe Contreras (felipec) - Thursday, 20 May 2021, 20:51 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
|
Details
In 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 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
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/rubygems/issues/2
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/rubygems/issues/2
Comment by
Buggy McBugFace (bugbot) - Tuesday,
08 August 2023, 19:11 GMT
Comment by
Alexandre ZANNI (noraj) - Monday,
04 September 2023, 10:41 GMT
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?