Skip to content

Commit

Permalink
Add lines to ruby script to update versions available to rbenv. (#334)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Scherz <[email protected]>
  • Loading branch information
scherztc and Thomas Scherz authored Apr 23, 2024
1 parent 912cd59 commit e732e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/check_ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ RUBY_VERSION=$(cat .ruby-version | sed s/ruby-//)
if rbenv versions | grep -q $RUBY_VERSION; then
echo 'Ruby' $RUBY_VERSION 'is installed'
else
git -C /home/apache/.rbenv/plugins/ruby-build pull
RUBY_CONFIGURE_OPTS="--disable-dtrace" rbenv install $RUBY_VERSION
fi
fi

0 comments on commit e732e44

Please sign in to comment.