diff options
Diffstat (limited to 'spec/bundler/install/gems/sudo_spec.rb')
-rw-r--r-- | spec/bundler/install/gems/sudo_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/install/gems/sudo_spec.rb b/spec/bundler/install/gems/sudo_spec.rb index 3e4c1ad1c1..bab8412170 100644 --- a/spec/bundler/install/gems/sudo_spec.rb +++ b/spec/bundler/install/gems/sudo_spec.rb @@ -145,6 +145,8 @@ RSpec.describe "when using sudo", :sudo => true do sudo "mkdir -p #{gem_home}" sudo "chmod ugo-w #{gem_home}" + system_gems :bundler, :path => gem_home + gemfile <<-G source "#{file_uri_for(gem_repo1)}" gem "rack", '1.0' |