summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile/git_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gemfile/git_spec.rb')
-rw-r--r--spec/bundler/install/gemfile/git_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb
index 3c34bd4477..cc2da8bec4 100644
--- a/spec/bundler/install/gemfile/git_spec.rb
+++ b/spec/bundler/install/gemfile/git_spec.rb
@@ -124,7 +124,8 @@ RSpec.describe "bundle install with git sources" do
end
it "still works after moving the application directory" do
- bundle "install --path vendor/bundle"
+ bundle "config --local path vendor/bundle"
+ bundle "install"
FileUtils.mv bundled_app, tmp("bundled_app.bck")
@@ -132,7 +133,8 @@ RSpec.describe "bundle install with git sources" do
end
it "can still install after moving the application directory" do
- bundle "install --path vendor/bundle"
+ bundle "config --local path vendor/bundle"
+ bundle "install"
FileUtils.mv bundled_app, tmp("bundled_app.bck")