Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Fix RUBY_VERSION handling
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Feb 7, 2018
1 parent 50b7ac8 commit 3d9f40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-build-functions.sh
Expand Up @@ -203,10 +203,10 @@ install_dependencies() {
fi

# Ruby version
local tmprv="${RUBY_VERSION:=$defaultRubyVersion}"
source $HOME/.rvm/scripts/rvm
# rvm will overwrite RUBY_VERSION, so we must control it
RUBY_VERSION="$defaultRubyVersion"
export RUBY_VERSION
export RUBY_VERSION=$tmprv

local druby=$RUBY_VERSION
if [ -f .ruby-version ]
Expand Down

0 comments on commit 3d9f40e

Please sign in to comment.