Conditionally install foreman during setup (#8391)
We should avoid install foreman during `bin/setup` if it is already installed.
This commit is contained in:
parent
ebc4534246
commit
b603e03348
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ chdir APP_ROOT do
|
|||
system! "bundle config --local cache_all_platforms true"
|
||||
system("bundle check") || system!("bundle install")
|
||||
|
||||
system! "gem install foreman"
|
||||
system! "gem list \"^foreman$\" -v 0.87.1 -i --silent || gem install foreman"
|
||||
|
||||
# Install JavaScript dependencies if using Yarn
|
||||
system("bin/yarn")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue