File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ 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
12
+ # faster without the extra load time of rubygems.
13
+ export RUBYOPT=" --disable=gem"
14
+
11
15
function clone_repo {
12
16
if [ ! -d $1 ]; then # don't clone if the dir is already there
13
17
travis_retry eval " git clone git://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH "
@@ -46,7 +50,7 @@ function run_cukes {
46
50
else
47
51
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
48
52
# and PATH for those that are using `rspec` or `rake`.
49
- RUBYOPT=" -I${PWD} /../bundle -rbundler/setup" \
53
+ RUBYOPT=" ${RUBYOPT} -I${PWD} /../bundle -rbundler/setup" \
50
54
PATH=" ${PWD} /bin:$PATH " \
51
55
bin/cucumber --strict
52
56
fi
You can’t perform that action at this time.
0 commit comments