This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ export JRUBY_OPTS=${JRUBY_OPTS:-"--server -Xcompile.invokedynamic=false"}
8
8
SPECS_HAVE_RUN_FILE=specs.out
9
9
MAINTENANCE_BRANCH=` cat maintenance-branch`
10
10
11
- # Don't allow rubygems to pollute what's loaded. Also, things boot faster
12
- # without the extra load time of rubygems. Only works on MRI.
13
- if is_mri; then
14
- export RUBYOPT=" --disable=gem"
15
- fi
16
-
17
11
function clone_repo {
18
12
if [ ! -d $1 ]; then # don't clone if the dir is already there
19
13
if [ -z " $2 " ]; then
@@ -58,7 +52,7 @@ function run_cukes {
58
52
else
59
53
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
60
54
# and PATH for those that are using `rspec` or `rake`.
61
- RUBYOPT=" ${RUBYOPT} -I${PWD} /../bundle -rbundler/setup" \
55
+ RUBYOPT=" --disable=gem -I${PWD} /../bundle -rbundler/setup" \
62
56
PATH=" ${PWD} /bin:$PATH " \
63
57
bin/cucumber --strict
64
58
fi
@@ -82,9 +76,6 @@ function run_spec_suite_for {
82
76
unset BUNDLE_GEMFILE
83
77
bundle_install_flags=" --binstubs --standalone --without documentation --path ../bundle"
84
78
travis_retry eval " (unset RUBYOPT; exec bundle install $bundle_install_flags )"
85
- if [ $1 == rspec-rails ]; then
86
- unset RUBYOPT
87
- fi ;
88
79
run_specs_and_record_done
89
80
popd
90
81
else
You can’t perform that action at this time.
0 commit comments