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 1991b97 commit 1dd90b9Copy full SHA for 1dd90b9
bundler/spec/cache/git_spec.rb
@@ -294,6 +294,8 @@
294
FileUtils.mkdir_p bundled_app("vendor/cache")
295
FileUtils.cp_r git_path, bundled_app("vendor/cache/foo-1.0-#{path_revision}")
296
FileUtils.rm_rf bundled_app("vendor/cache/foo-1.0-#{path_revision}/.git")
297
+ # bundle install with git repo needs to be run under the git environment.
298
+ Dir.chdir(bundled_app) { system(*%W[git init --quiet]) }
299
300
bundle :install, env: { "BUNDLE_DEPLOYMENT" => "true", "BUNDLE_CACHE_ALL" => "true" }
301
end
0 commit comments