From cf6654318c7e3504adda57afaf52a846ef935013 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Fri, 9 Jun 2006 02:08:26 +0000 Subject: 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 --- railties/CHANGELOG | 2 ++ railties/lib/commands/plugin.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index d2f564485a..362438e582 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick] + * Added uninstall.rb hook to plugin handling, such that plugins have a way of removing assets and other artifacts on removal #5003 [takiuchi@drecom.co.jp] * Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org] 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 -- cgit v1.2.3