2018-04-22 21:24:15 +02:00
|
|
|
--- /home/vagrant/ruby-2.5.0/tool/rbinstall.rb 2017-10-30 05:45:20.000000000 +0000
|
|
|
|
+++ src/tool/rbinstall.rb 2018-02-14 18:53:42.498522407 +0000
|
|
|
|
@@ -731,7 +731,7 @@
|
|
|
|
end
|
|
|
|
|
|
|
|
def install_default_gem(dir, srcdir)
|
2017-01-20 15:26:08 +01:00
|
|
|
- gem_dir = Gem.default_dir
|
2019-02-24 19:00:08 +01:00
|
|
|
+ gem_dir = "@TERMUX_PREFIX@/lib/ruby/gems/2.6.0"
|
2017-01-20 15:26:08 +01:00
|
|
|
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
|
2018-04-22 21:24:15 +02:00
|
|
|
prepare "default gems from #{dir}", gem_dir, directories
|
|
|
|
|
|
|
|
@@ -765,7 +765,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
|
2019-02-24 19:00:08 +01:00
|
|
|
+ gem_dir = "@TERMUX_PREFIX@/lib/ruby/gems/2.6.0"
|
2017-01-20 15:26:08 +01:00
|
|
|
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
|
2018-04-22 21:24:15 +02:00
|
|
|
prepare "bundled gems", gem_dir, directories
|
2017-01-20 15:26:08 +01:00
|
|
|
install_dir = with_destdir(gem_dir)
|