diff --git a/Rakefile b/Rakefile index d63267d72..a3654cce4 100644 --- a/Rakefile +++ b/Rakefile @@ -31,7 +31,8 @@ task :install_dependencies do end Gem.configuration.verbose = false - gemspec = eval(File.read("openssl.gemspec")) + gemspec = Gem::Specification.load('openssl.gemspec') + gemspec.development_dependencies.each do |dep| print "Installing #{dep.name} (#{dep.requirement}) ... " installed = dep.matching_specs