Skip to content

Commit c1d954a

Browse files
committed
fixup! Revert hasty change
1 parent 8d2142a commit c1d954a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/functions.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ MAINTENANCE_BRANCH=`cat maintenance-branch`
1313

1414
# Don't allow rubygems to pollute what's loaded. Also, things boot faster
1515
# without the extra load time of rubygems. Only works on MRI Ruby 1.9+
16-
export RUBYOPT="--disable=gem"
16+
if is_mri; then
17+
export RUBYOPT="--disable=gem"
18+
fi
1719

1820
function clone_repo {
1921
if [ ! -d $1 ]; then # don't clone if the dir is already there

0 commit comments

Comments
 (0)