aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/plugin.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-06-09 02:08:26 +0000
committerRick Olson <technoweenie@gmail.com>2006-06-09 02:08:26 +0000
commitcf6654318c7e3504adda57afaf52a846ef935013 (patch)
tree831045cbb697e3bb06006a84485b28a17921658a /railties/lib/commands/plugin.rb
parent486af0254a3abbecb6a9ca8cf32c01c7160c4078 (diff)
downloadrails-cf6654318c7e3504adda57afaf52a846ef935013.tar.gz
rails-cf6654318c7e3504adda57afaf52a846ef935013.tar.bz2
rails-cf6654318c7e3504adda57afaf52a846ef935013.zip
Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/plugin.rb')
-rw-r--r--railties/lib/commands/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index f18a49d683..2a9d511eb4 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -761,7 +761,7 @@ module Commands
::Plugin.find(name).install(install_method, @options)
end
rescue
- puts "Plugin not found: #{name}"
+ puts "Plugin not found: #{args.inspect}"
exit 1
end
end