Skip to content

Commit

Permalink
improve gemloader to include runtime deps if any, and not break on co…
Browse files Browse the repository at this point in the history
…mplex requirements
  • Loading branch information
raggi committed Feb 10, 2011
1 parent 07db144 commit 609a041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/gemloader.rb
@@ -1,6 +1,6 @@
require 'rubygems'
project = 'rack'
gemspec = File.expand_path("#{project}.gemspec", Dir.pwd)
eval(File.read(gemspec)).development_dependencies.each do |dep|
gem dep.name, dep.requirement.to_s
Gem::Specification.load(gemspec).dependencies.each do |dep|
gem dep.name, *dep.requirement.as_list
end

0 comments on commit 609a041

Please sign in to comment.