We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd5dee commit 15e431bCopy full SHA for 15e431b
1 file changed
lib/rubygems/commands/build_command.rb
@@ -85,8 +85,7 @@ def build_gem(gem_name)
85
spec = Gem::Specification.load(gemspec)
86
87
if options[:build_path]
88
- Dir.chdir(File.dirname(gemspec)) do
89
- spec = Gem::Specification.load(File.basename(gemspec))
+ Dir.chdir(options[:build_path]) do
90
build_package(spec)
91
end
92
else
0 commit comments