nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 929 B view raw
1From 2e1328bcdddd35e557eabdff83ac07f3591dc693 Mon Sep 17 00:00:00 2001 2From: zimbatm <zimbatm@zimbatm.com> 3Date: Wed, 21 Sep 2016 19:37:05 +0100 4Subject: [PATCH 2/3] binaries with env shebang 5 6By default, don't point to the absolute ruby derivation path. As a user 7installing a gem in the home, it would freeze the selected ruby version 8to the currently-installed ruby derivation. 9--- 10 lib/rubygems/dependency_installer.rb | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/lib/rubygems/dependency_installer.rb b/lib/rubygems/dependency_installer.rb 14index 34620860..00ab31d9 100644 15--- a/lib/rubygems/dependency_installer.rb 16+++ b/lib/rubygems/dependency_installer.rb 17@@ -17,7 +17,7 @@ class Gem::DependencyInstaller 18 extend Gem::Deprecate 19 20 DEFAULT_OPTIONS = { # :nodoc: 21- env_shebang: false, 22+ env_shebang: true, 23 document: %w[ri], 24 domain: :both, # HACK: dup 25 force: false, 26-- 272.21.0 28