Skip to content

Commit

Permalink
Add lines to ruby script to update versions available to rbenv.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed Apr 9, 2024
1 parent 912cd59 commit 6759735
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 6759735

Please sign in to comment.