summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/pristine_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/pristine_command.rb9
1 files changed, 9 insertions, 0 deletions
@@ -46,6 +46,12 @@ class Gem::Commands::PristineCommand < Gem::Command
options[:env_shebang] = value
end
add_version_option('restore to', 'pristine condition')
end
@@ -160,12 +166,15 @@ extensions will be restored.
install_defaults.to_s['--env-shebang']
end
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