From e6589fa54b9f2e23320c9845648ea85cd5ba3d2f Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 16 May 2018 10:00:10 +0200 Subject: [PATCH] Fix rb install --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 83f1740..e34ef9d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,8 +115,8 @@ ynh_setup_source "$final_path/.rbenv/plugins/ruby-build" "app-ruby-build" # Install ruby 2.5.0 ( - exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.0 - exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.0 + exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.0 || true + exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.0 || true exec_as "$app" $final_path/.rbenv/versions/2.5.0/bin/ruby -v )