2021-02-09 15:49:36 +01:00
|
|
|
diff -uNr ruby-3.0.0/tool/rbinstall.rb ruby-3.0.0.mod/tool/rbinstall.rb
|
|
|
|
--- ruby-3.0.0/tool/rbinstall.rb 2020-12-25 05:33:01.000000000 +0200
|
|
|
|
+++ ruby-3.0.0.mod/tool/rbinstall.rb 2021-02-09 17:56:22.006372416 +0200
|
|
|
|
@@ -897,7 +897,7 @@
|
2018-04-22 21:24:15 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def install_default_gem(dir, srcdir)
|
2017-01-20 15:26:08 +01:00
|
|
|
- gem_dir = Gem.default_dir
|
2021-02-09 15:49:36 +01:00
|
|
|
+ gem_dir = "@TERMUX_PREFIX@/lib/ruby/gems/3.0.0"
|
|
|
|
install_dir = with_destdir(gem_dir)
|
|
|
|
prepare "default gems from #{dir}", gem_dir
|
|
|
|
makedirs(Gem.ensure_default_gem_subdirectories(install_dir, $dir_mode).map {|d| File.join(gem_dir, d)})
|
|
|
|
@@ -943,7 +943,7 @@
|
2017-01-20 15:26:08 +01:00
|
|
|
end
|
2018-04-22 21:24:15 +02:00
|
|
|
|
|
|
|
install?(:ext, :comm, :gem, :'bundled-gems') do
|
2017-01-20 15:26:08 +01:00
|
|
|
- gem_dir = Gem.default_dir
|
2021-02-09 15:49:36 +01:00
|
|
|
+ gem_dir = "@TERMUX_PREFIX@/lib/ruby/gems/3.0.0"
|
2017-01-20 15:26:08 +01:00
|
|
|
install_dir = with_destdir(gem_dir)
|
2021-02-09 15:49:36 +01:00
|
|
|
prepare "bundled gems", gem_dir
|
|
|
|
makedirs(Gem.ensure_gem_subdirectories(install_dir, $dir_mode).map {|d| File.join(gem_dir, d)})
|