summaryrefslogtreecommitdiff
path: root/dev-lang/ruby/files/3.3/010-default-gem-location.patch
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-26 19:56:05 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-26 19:57:30 +0100
commite29b21208c037a6623929c43a990cf7be203e15a (patch)
tree4aac3d13c358412d6ad6cec198bd850e518a832a /dev-lang/ruby/files/3.3/010-default-gem-location.patch
parent020d27ef93686daf957d69da4c68418067443522 (diff)
downloadgentoo-e29b21208c037a6623929c43a990cf7be203e15a.tar.gz
gentoo-e29b21208c037a6623929c43a990cf7be203e15a.tar.bz2
gentoo-e29b21208c037a6623929c43a990cf7be203e15a.zip
dev-lang/ruby: add missing patches
Closes: https://bugs.gentoo.org/920735 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-lang/ruby/files/3.3/010-default-gem-location.patch')
-rw-r--r--dev-lang/ruby/files/3.3/010-default-gem-location.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/3.3/010-default-gem-location.patch b/dev-lang/ruby/files/3.3/010-default-gem-location.patch
new file mode 100644
index 000000000000..36009ad66f61
--- /dev/null
+++ b/dev-lang/ruby/files/3.3/010-default-gem-location.patch
@@ -0,0 +1,11 @@
+--- a/tool/rbinstall.rb 2022-11-13 08:12:27.373041649 +0100
++++ b/tool/rbinstall.rb 2022-11-13 08:16:09.110406705 +0100
+@@ -994,7 +994,7 @@
+ end
+
+ install?(:ext, :comm, :gem, :'bundled-gems') do
+- gem_dir = Gem.default_dir
++ gem_dir = ENV['GEM_DESTDIR']
+ install_dir = with_destdir(gem_dir)
+ prepare "bundled gems", gem_dir
+ RbInstall.no_write do