Skip to content

Commit f0ee45e

Browse files
committed
Replace the --path bundler option with an inline env
The option is deprecated and now makes the command fail instead of just printing a warning.
1 parent ce5f3c0 commit f0ee45e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/features/create_extension_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def bundle_install
183183
bundle_path = "#{gem_root}/vendor/bundle"
184184

185185
command = 'bundle install'
186-
command += " --path=#{bundle_path.shellescape}" if File.exist?(bundle_path)
186+
command = "env BUNDLE_PATH=#{bundle_path.shellescape} #{command}" if File.exist?(bundle_path)
187187

188188
output = nil
189189
cd(install_path) { output = sh command }

0 commit comments

Comments
 (0)