summaryrefslogtreecommitdiff
path: root/repo/ruby/dont-install-bundled-gems.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/ruby/dont-install-bundled-gems.patch')
-rw-r--r--repo/ruby/dont-install-bundled-gems.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/ruby/dont-install-bundled-gems.patch b/repo/ruby/dont-install-bundled-gems.patch
new file mode 100644
index 0000000..2a913b9
--- /dev/null
+++ b/repo/ruby/dont-install-bundled-gems.patch
@@ -0,0 +1,20 @@
+Don't install bundled gems - we package them separately.
+
+--- a/tool/rbinstall.rb
++++ b/tool/rbinstall.rb
+@@ -1003,6 +1003,7 @@
+ end
+ end
+
++=begin XXX-Patched
+ install?(:ext, :comm, :gem, :'bundled-gems') do
+ if CONFIG['CROSS_COMPILING'] == 'yes'
+ # The following hacky steps set "$ruby = BASERUBY" in tool/fake.rb
+@@ -1104,6 +1105,7 @@
+ puts "skip installing bundled gems because of lacking zlib"
+ end
+ end
++=end
+
+ parse_args()
+