1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
David Heinemeier Hansson 2008-03-28 19:52:02 +00:00
parent c57254d449
commit 4aca503d0e

View file

@ -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)