From 80ba379c242ce1d92005403423717cf0f74a74db Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 6 Dec 2012 05:26:46 +0000 Subject: * lib/rubygems/command_manager.rb: Removed string concatenation syntax. [Bug #6265] * lib/rubygems/commands/install_command.rb: ditto * lib/rubygems/commands/uninstall_command.rb: ditto * lib/rubygems/indexer.rb: ditto * lib/rubygems/security/policy.rb: ditto * lib/rubygems/security.rb: ditto * lib/rubygems/uninstaller.rb: ditto * test/rubygems/test_gem_commands_cert_command.rb: ditto * test/rubygems/test_gem_package.rb: ditto * test/rubygems/test_gem_security.rb: ditto * test/rubygems/test_gem_security_policy.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/commands/uninstall_command.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/rubygems/commands/uninstall_command.rb') diff --git a/lib/rubygems/commands/uninstall_command.rb b/lib/rubygems/commands/uninstall_command.rb index 736574ddff..56aa8ee57f 100644 --- a/lib/rubygems/commands/uninstall_command.rb +++ b/lib/rubygems/commands/uninstall_command.rb @@ -76,8 +76,8 @@ class Gem::Commands::UninstallCommand < Gem::Command end def defaults_str # :nodoc: - "--version '#{Gem::Requirement.default}' --no-force " \ - "--install-dir #{Gem.dir}\n" \ + "--version '#{Gem::Requirement.default}' --no-force " + + "--install-dir #{Gem.dir}\n" + "--user-install" end @@ -101,7 +101,7 @@ class Gem::Commands::UninstallCommand < Gem::Command Gem::Uninstaller.new(gem_name, options).uninstall rescue Gem::GemNotInHomeException => e spec = e.spec - alert("In order to remove #{spec.name}, please execute:\n" \ + alert("In order to remove #{spec.name}, please execute:\n" + "\tgem uninstall #{spec.name} --install-dir=#{spec.installation_path}") end end -- cgit v1.2.3