mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-22 05:18:51 +00:00
Update bundler version when necessary
Not just when it's missing.
This commit is contained in:
@@ -27,10 +27,8 @@ elif ! ruby --version | grep $RUBY_VERSION > /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Set up Ruby dependencies via Bundler
|
||||
if ! command -v bundle > /dev/null; then
|
||||
./script/install-bundler
|
||||
fi
|
||||
# Install used Bundler version
|
||||
./script/install-bundler
|
||||
|
||||
# Install all dependencies
|
||||
bundle check || bundle install
|
||||
|
||||
Reference in New Issue
Block a user