Permalink
Browse files

Fail gracefully when plugin was not found [Chad Fowler]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 51949c2 commit 37e2085ff11c21c8132557e449ceadd1e600180b @dhh dhh committed Nov 6, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/lib/commands/plugin.rb
@@ -239,6 +239,8 @@ def find_plugin(name)
return plugin if plugin.name == name
end
end
+
+ return nil
end
def load!

0 comments on commit 37e2085

Please sign in to comment.