Skip to content

Commit

Permalink
Fixed that no gems installed would cause error (closes #11459) [thech…
Browse files Browse the repository at this point in the history
…risoshow]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Mar 28, 2008
1 parent c57254d commit 4aca503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/plugin/locator.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def plugins
require "rubygems/dependency_list" require "rubygems/dependency_list"


deps = Gem::DependencyList.new deps = Gem::DependencyList.new
deps.add(*specs) deps.add(*specs) unless specs.empty?


deps.dependency_order.collect do |spec| deps.dependency_order.collect do |spec|
Rails::GemPlugin.new(spec) Rails::GemPlugin.new(spec)
Expand Down

0 comments on commit 4aca503

Please sign in to comment.