Issue #5617 has been updated by drbrain (Eric Hodel).

File custom_rubygems_location.patch added
Category set to build
Assignee changed from drbrain (Eric Hodel) to matz (Yukihiro Matsumoto)

This functionality is fine with me, but since it applies to the build system and not RubyGems I think matz or someone else should decide if it should be applied.

I had to manually apply one chunk of this patch, so I attached an updated version.
----------------------------------------
Feature #5617: Allow install RubyGems into dediceted directory
https://bugs.ruby-lang.org/issues/5617#change-26967

Author: vo.x (Vit Ondruch)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: build
Target version: 


Hello,

I would like to propose my patch, which allows to optionally install RubyGems library into dedicated directory, out of the default Ruby directory structure. This should enable to easily share one RubyGems library by more Ruby implementations and avoids code duplication. I did this patch since Fedora prohibits duplication of system libraries [1], which would be the case if MRI and JRuby are installed in parallel.

Thank you for considering this patch.

Vit


[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Duplication_of_system_libraries


-- 
http://bugs.ruby-lang.org/