diff options
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r-- | lib/rubygems/commands/help_command.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/commands/install_command.rb | 4 | ||||
-rw-r--r-- | lib/rubygems/commands/pristine_command.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/rubygems/commands/help_command.rb b/lib/rubygems/commands/help_command.rb index 9f0ebc087f..4cbb8dadee 100644 --- a/lib/rubygems/commands/help_command.rb +++ b/lib/rubygems/commands/help_command.rb @@ -46,7 +46,7 @@ Some examples of 'gem' usage. * Update all gems on your system: gem update - + * Update your local version of RubyGems gem update --system diff --git a/lib/rubygems/commands/install_command.rb b/lib/rubygems/commands/install_command.rb index ac78764af5..5e2ffcdff3 100644 --- a/lib/rubygems/commands/install_command.rb +++ b/lib/rubygems/commands/install_command.rb @@ -37,7 +37,7 @@ class Gem::Commands::InstallCommand < Gem::Command 'install the listed gems') do |v,o| o[:gemdeps] = v end - + add_option(:"Install/Update", '--default', 'Add the gem\'s full specification to', 'specifications/default and extract only its bin') do |v,o| @@ -157,7 +157,7 @@ to write the specification by hand. For example: alert_error "Can't use --version w/ multiple gems. Use name:ver instead." terminate_interaction 1 end - + # load post-install hooks appropriate to options if options[:install_as_default] require 'rubygems/install_default_message' diff --git a/lib/rubygems/commands/pristine_command.rb b/lib/rubygems/commands/pristine_command.rb index 0a7f315a0a..257e6df1cc 100644 --- a/lib/rubygems/commands/pristine_command.rb +++ b/lib/rubygems/commands/pristine_command.rb @@ -110,7 +110,7 @@ with extensions. Gem::RemoteFetcher.fetcher.download_to_cache dep end - env_shebang = + env_shebang = if options.include? :env_shebang then options[:env_shebang] else |