diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-09 23:41:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-09 23:41:44 +0000 |
commit | 71110cb745abfa54df51f305f2481f23a5925f09 (patch) | |
tree | 00ca151b503a0912646d3a527625f68d210d7b31 /lib/rubygems/commands | |
parent | 47f0248b0858898dd24d1e654cedf174059ca677 (diff) | |
download | ruby-71110cb745abfa54df51f305f2481f23a5925f09.tar.gz |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 |