Skip to content

Commit ff2929f

Browse files
committed
Avoid rubygems loading issue with Bundler 2.1.0
On Bundler 2.1.0 the loading of rubygems has been rewritten. It breaks our existing usage of command execution. The --disable=gem flag is problematic because we need to load rubygems in Bundler. It is not explicitly loaded in Bundle 2.1.0 Related: - rubygems/bundler#7487
1 parent a5e0e26 commit ff2929f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/custom_build_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function run_cukes {
22
if is_mri_192_plus; then
3-
bin/rake acceptance --trace
3+
eval "(unset RUBYOPT; exec bin/rake acceptance --trace)"
44
return $?
55
elif is_jruby; then
66
bin/rake smoke:app

0 commit comments

Comments
 (0)