From da0ef8531ba245cd688921e19d3750d5e60507e8 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 20 Mar 2023 12:55:09 +1100 Subject: [PATCH] Install our used bundler version --- bin/setup | 2 +- script/setup | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/setup b/bin/setup index 976ae4365c..bff486cc34 100755 --- a/bin/setup +++ b/bin/setup @@ -14,7 +14,7 @@ FileUtils.chdir APP_ROOT do # Add necessary setup steps to this file. puts "== Installing dependencies ==" - system! "gem install bundler --conservative" + system! "script/install-bundler" system("bundle check") || system!("bundle install") # Install JavaScript dependencies diff --git a/script/setup b/script/setup index d0c84566dc..d8f03ae63b 100755 --- a/script/setup +++ b/script/setup @@ -27,9 +27,6 @@ elif ! ruby --version | grep $RUBY_VERSION > /dev/null; then exit 1 fi -# Install used Bundler version -./script/install-bundler - # Install dependencies, prepare database and tidy ./bin/setup