Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/alt/ruby24/lib64/ruby/gems/2.4.0/gems/rack-1.6.4/test/ |
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/alt/ruby24/lib64/ruby/gems/2.4.0/gems/rack-1.6.4/test/gemloader.rb |
require 'rubygems' project = 'rack' gemspec = File.expand_path("#{project}.gemspec", Dir.pwd) Gem::Specification.load(gemspec).dependencies.each do |dep| begin gem dep.name, *dep.requirement.as_list rescue Gem::LoadError warn "Cannot load #{dep.name} #{dep.requirement.to_s}" end end