diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-06 13:06:38 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-06 13:06:38 +0000 |
commit | 37e2085ff11c21c8132557e449ceadd1e600180b (patch) | |
tree | f326c3518d507709bc649014ebfa201383c17596 /railties/lib/commands | |
parent | 51949c22f1ac5fa92ec6cc137a317027364c8947 (diff) | |
download | rails-37e2085ff11c21c8132557e449ceadd1e600180b.tar.gz rails-37e2085ff11c21c8132557e449ceadd1e600180b.tar.bz2 rails-37e2085ff11c21c8132557e449ceadd1e600180b.zip |
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
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/plugin.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index df0bee57ea..dc702fb4bb 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -239,6 +239,8 @@ class Repositories return plugin if plugin.name == name end end + + return nil end def load! |