Skip to content

Commit

Permalink
Use Gem::Specification.load to load gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Oct 31, 2019
1 parent 74e03b5 commit 72bd9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72bd9fe

Please sign in to comment.