chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / ruby / lib-rubygems-installer.rb.patch
1 diff -u -r ../ruby-2.4.0/lib/rubygems/installer.rb ./lib/rubygems/installer.rb
2 --- ../ruby-2.4.0/lib/rubygems/installer.rb     2016-09-28 03:16:43.000000000 +0200
3 +++ ./lib/rubygems/installer.rb 2017-01-31 22:49:11.992624578 +0100
4 @@ -31,7 +31,7 @@
5    # Paths where env(1) might live.  Some systems are broken and have it in
6    # /bin
7  
8 -  ENV_PATHS = %w[/usr/bin/env /bin/env]
9 +  ENV_PATHS = %w[@TERMUX_PREFIX@/bin/env /usr/bin/env]
10  
11    ##
12    # Deprecated in favor of Gem::Ext::BuildError