1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Add missing parentheses

f5972338e0
This commit is contained in:
bronzdoc 2019-08-23 15:21:57 -06:00 committed by Hiroshi SHIBATA
parent 92be07b1e1
commit 73574756f9

View file

@ -82,7 +82,7 @@ Gems can be saved to a specified filename with the output option:
if options[:build_path]
Dir.chdir(File.dirname(gemspec)) do
spec = Gem::Specification.load File.basename(gemspec)
spec = Gem::Specification.load(File.basename(gemspec))
build_package(spec)
end
else