Merge pull request #11409 from dacook/script-update

Don't show extra red messages when gems missing
This commit is contained in:
jibees
2023-08-16 09:01:20 +02:00
committed by GitHub

View File

@@ -17,7 +17,8 @@ FileUtils.chdir APP_ROOT do
puts "== Installing dependencies =="
system! "script/install-bundler"
system("bundle check") || system!(BUNDLE_ENV, "bundle install")
# Check first (it's quicker), then install new gems if necessary
system("bundle check 2> /dev/null") || system!(BUNDLE_ENV, "bundle install")
# Install JavaScript dependencies
system("bin/yarn")