diff --git a/script/setup b/script/setup index 8e4c0aa941..eddefb6b8c 100755 --- a/script/setup +++ b/script/setup @@ -19,11 +19,9 @@ NO_COLOR='\033[0m' # Check ruby version RUBY_VERSION=$(cat .ruby-version) -if command -v rbenv > /dev/null && ! command rvm > /dev/null; then +if command -v rbenv > /dev/null; then ./script/rbenv-install.sh -fi - -if command rvm > /dev/null; then +elif command rvm > /dev/null; then ./script/rvm-install.sh fi