Skip to content

Commit e0639d5

Browse files
committed
1 parent ec35f09 commit e0639d5

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

travis/script/functions.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ export JRUBY_OPTS=${JRUBY_OPTS:-"--server -Xcompile.invokedynamic=false"}
88
SPECS_HAVE_RUN_FILE=specs.out
99
MAINTENANCE_BRANCH=`cat maintenance-branch`
1010

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 Ruby 1.9+
13-
if is_mri_192_plus; then
14-
export RUBYOPT="--disable=gem"
15-
fi
16-
1711
function clone_repo {
1812
if [ ! -d $1 ]; then # don't clone if the dir is already there
1913
travis_retry eval "git clone git://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH"

travis/script/predicate_functions.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ function is_mri_192 {
3030
fi
3131
}
3232

33-
function is_mri_192_plus {
34-
if is_mri; then
35-
if ruby -e "exit(RUBY_VERSION.to_f > 1.8)"; then
36-
return 0
37-
else
38-
return 1
39-
fi
40-
else
41-
return 1
42-
fi
43-
}
44-
4533
function is_mri_2plus {
4634
if is_mri; then
4735
if ruby -e "exit(RUBY_VERSION.to_f > 2.0)"; then

0 commit comments

Comments
 (0)