diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/commands/pristine_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/pristine_command.rb b/lib/rubygems/commands/pristine_command.rb index 408672158f..fafe35bec1 100644 --- a/lib/rubygems/commands/pristine_command.rb +++ b/lib/rubygems/commands/pristine_command.rb @@ -157,14 +157,14 @@ extensions will be restored. install_defaults.to_s['--env-shebang'] end - installer_options = { + installer_options = { :wrappers => true, :force => true, :install_dir => spec.base_dir, :env_shebang => env_shebang, :build_args => spec.build_args, } - + if options[:only_executables] then installer = Gem::Installer.for_spec(spec, installer_options) installer.generate_bin |