diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-28 19:52:02 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-28 19:52:02 +0000 |
commit | 4aca503d0e7595efde10e5b225eb11937693b117 (patch) | |
tree | 34cf3bccc507aee86e500f6ba18aff392b2f4d53 /railties/lib/rails/plugin | |
parent | c57254d44930f43ccf300e8906bd46bd5aaf8ed3 (diff) | |
download | rails-4aca503d0e7595efde10e5b225eb11937693b117.tar.gz rails-4aca503d0e7595efde10e5b225eb11937693b117.tar.bz2 rails-4aca503d0e7595efde10e5b225eb11937693b117.zip |
Fixed that no gems installed would cause error (closes #11459) [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails/plugin')
-rw-r--r-- | railties/lib/rails/plugin/locator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/plugin/locator.rb b/railties/lib/rails/plugin/locator.rb index 0b7923cfb6..6e6d2201a1 100644 --- a/railties/lib/rails/plugin/locator.rb +++ b/railties/lib/rails/plugin/locator.rb @@ -86,7 +86,7 @@ module Rails require "rubygems/dependency_list" deps = Gem::DependencyList.new - deps.add(*specs) + deps.add(*specs) unless specs.empty? deps.dependency_order.collect do |spec| Rails::GemPlugin.new(spec) |