diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-04-05 17:58:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 23:58:44 +0200 |
commit | b8ff4987810b0101a9015d46c06b173ef277a98d (patch) | |
tree | 220522da1c82a8099d9325c28ea575541ce00e3b /.devcontainer | |
parent | 9d08b81193d5be33365fb24db43aae54627c172b (diff) |
Fix DevContainer post-create warnings (#23977)
Diffstat (limited to '.devcontainer')
-rwxr-xr-x | .devcontainer/post-create.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 7c3852e7e..a075cc7b3 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -3,14 +3,16 @@ set -e # Fail the whole script on first error # Fetch Ruby gem dependencies -bundle install --path vendor/bundle --with='development test' - -# Fetch Javascript dependencies -yarn install +bundle config path 'vendor/bundle' +bundle config with 'development test' +bundle install # Make Gemfile.lock pristine again git checkout -- Gemfile.lock +# Fetch Javascript dependencies +yarn --frozen-lockfile + # [re]create, migrate, and seed the test database RAILS_ENV=test ./bin/rails db:setup |