Check Gemfile.lock is writable

This commit is contained in:
Brendan Coles
2019-02-16 03:26:27 +00:00
parent c3e8ca837a
commit beaf4d127d

View File

@@ -195,7 +195,12 @@ check_bundler () {
install_beef () {
echo "Installing required Ruby gems..."
rm Gemfile.lock
if [ -w Gemfile.lock ]
then
/bin/rm Gemfile.lock
fi
if command_exists bundler${RUBYSUFFIX}
then
bundle${RUBYSUFFIX} install --without test development