mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #11409 from dacook/script-update
Don't show extra red messages when gems missing
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user