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:
parent
c57254d449
commit
4aca503d0e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue