Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 96fb522

Browse files
committed
Only disable loading RubyGems on MRI
1 parent 45c0ce8 commit 96fb522

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.
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)