From 6759735ad4efeafba0067c6a1c1394e497d79ec2 Mon Sep 17 00:00:00 2001 From: Thomas Scherz Date: Tue, 9 Apr 2024 12:27:20 -0400 Subject: [PATCH] Add lines to ruby script to update versions available to rbenv. --- scripts/check_ruby.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check_ruby.sh b/scripts/check_ruby.sh index 4c7a8801..8bd70c98 100644 --- a/scripts/check_ruby.sh +++ b/scripts/check_ruby.sh @@ -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 \ No newline at end of file +fi