aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands/build_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/build_command.rb')
-rw-r--r--lib/rubygems/commands/build_command.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rubygems/commands/build_command.rb b/lib/rubygems/commands/build_command.rb
index f1d700349f..3c778cf705 100644
--- a/lib/rubygems/commands/build_command.rb
+++ b/lib/rubygems/commands/build_command.rb
@@ -55,7 +55,11 @@ with gem spec:
spec = Gem::Specification.load File.basename(gemspec)
if spec then
- Gem::Package.build spec, options[:force], options[:strict]
+ Gem::Package.build(
+ spec,
+ options[:force],
+ options[:strict]
+ )
else
alert_error "Error loading gemspec. Aborting."
terminate_interaction 1