Fredrik Fornwall
8 years ago
4 changed files with 39 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
diff -u -r ../ruby-2.4.0/lib/rubygems/defaults.rb ./lib/rubygems/defaults.rb
|
|||
--- ../ruby-2.4.0/lib/rubygems/defaults.rb 2016-06-24 06:13:11.000000000 +0200
|
|||
+++ ./lib/rubygems/defaults.rb 2017-01-31 22:53:59.125074751 +0100
|
|||
@@ -191,6 +191,9 @@
|
|||
# end |
|||
|
|||
def self.platform_defaults |
|||
- {}
|
|||
+ {
|
|||
+ 'install' => '--no-rdoc --no-ri --env-shebang',
|
|||
+ 'update' => '--no-rdoc --no-ri --env-shebang'
|
|||
+ }
|
|||
end |
|||
end |
@ -0,0 +1,12 @@ |
|||
diff -u -r ../ruby-2.4.0/lib/rubygems/install_update_options.rb ./lib/rubygems/install_update_options.rb
|
|||
--- ../ruby-2.4.0/lib/rubygems/install_update_options.rb 2016-04-06 08:01:14.000000000 +0200
|
|||
+++ ./lib/rubygems/install_update_options.rb 2017-01-31 22:48:03.877466602 +0100
|
|||
@@ -232,7 +232,7 @@
|
|||
# Default options for the gem install command. |
|||
|
|||
def install_update_defaults_str |
|||
- '--document=rdoc,ri --wrappers'
|
|||
+ '--document=rdoc,ri --wrappers,--env-shebang'
|
|||
end |
|||
|
|||
end |
@ -0,0 +1,12 @@ |
|||
diff -u -r ../ruby-2.4.0/lib/rubygems/installer.rb ./lib/rubygems/installer.rb
|
|||
--- ../ruby-2.4.0/lib/rubygems/installer.rb 2016-09-28 03:16:43.000000000 +0200
|
|||
+++ ./lib/rubygems/installer.rb 2017-01-31 22:49:11.992624578 +0100
|
|||
@@ -31,7 +31,7 @@
|
|||
# Paths where env(1) might live. Some systems are broken and have it in |
|||
# /bin |
|||
|
|||
- ENV_PATHS = %w[/usr/bin/env /bin/env]
|
|||
+ ENV_PATHS = %w[@TERMUX_PREFIX@/bin/env /usr/bin/env]
|
|||
|
|||
## |
|||
# Deprecated in favor of Gem::Ext::BuildError |
Loading…
Reference in new issue