Skip to content

Commit

Permalink
Fail gracefully when plugin was not found [Chad Fowler]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 6, 2005
1 parent 51949c2 commit 37e2085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/lib/commands/plugin.rb
Expand Up @@ -239,6 +239,8 @@ def find_plugin(name)
return plugin if plugin.name == name
end
end

return nil
end

def load!
Expand Down

0 comments on commit 37e2085

Please sign in to comment.