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 d86bb5c commit 0591debCopy full SHA for 0591deb
1 file changed
spec/features/create_extension_spec.rb
@@ -184,11 +184,12 @@ def bundle_install
184
# variables doesn't help because commands are run with a clean env.
185
bundle_path = "#{gem_root}/vendor/bundle"
186
187
- command = 'bundle install'
188
- command = "env BUNDLE_PATH=#{bundle_path.shellescape} #{command}" if File.exist?(bundle_path)
+ if File.exist?(bundle_path)
+ sh "bundle config set --local path #{bundle_path.shellescape}"
189
+ end
190
191
output = nil
- cd(install_path) { output = sh command }
192
+ cd(install_path) { output = sh 'bundle install' }
193
output
194
end
195
0 commit comments