summaryrefslogtreecommitdiff
path: root/spec/support/builders.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/builders.rb')
-rw-r--r--spec/support/builders.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index ac56216a85..a78219707e 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -763,9 +763,9 @@ module Spec
gem_path = File.expand_path("#{@spec.full_name}.gem", lib_path)
if opts[:to_system]
- @context.system_gems gem_path, :keep_path => true
+ @context.system_gems gem_path
elsif opts[:to_bundle]
- @context.system_gems gem_path, :path => :bundle_path, :keep_path => true
+ @context.system_gems gem_path, :path => :bundle_path
else
FileUtils.mv(gem_path, destination)
end