rubygems/rubygems — pull request #277 by headius (2012-02-17 10:34:36+00:00)
Title: Propagate env-shebang to "pristine" command if set for install.

This is a partial fix for #119 that we've been shipping with JRuby.

Under many installs of JRuby, binstubs must be installed using an env shebang since the ```jruby``` command is a bash script. For that, we have set install's defaults to --env-shebang. However, the ```pristine``` command, which just reinstalls gems, does not observe install's defaults (as reported in #119). This patch propagates the env-shebang flag, since it's the important one for us.

This is by no means a complete fix for #119, but it's what we've been shipping for years.