File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
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 Ruby 1.9+
13
- if is_mri_192_plus; 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
travis_retry eval " git clone git://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH "
Original file line number Diff line number Diff line change @@ -30,18 +30,6 @@ function is_mri_192 {
30
30
fi
31
31
}
32
32
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
-
45
33
function is_mri_2plus {
46
34
if is_mri; then
47
35
if ruby -e " exit(RUBY_VERSION.to_f > 2.0)" ; then
You can’t perform that action at this time.
0 commit comments