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 2a5dbc6 commit c511aa0
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 c511aa0

Please sign in to comment.