Check Gemfile.lock is writable
This commit is contained in:
7
install
7
install
@@ -195,7 +195,12 @@ check_bundler () {
|
|||||||
install_beef () {
|
install_beef () {
|
||||||
|
|
||||||
echo "Installing required Ruby gems..."
|
echo "Installing required Ruby gems..."
|
||||||
rm Gemfile.lock
|
|
||||||
|
if [ -w Gemfile.lock ]
|
||||||
|
then
|
||||||
|
/bin/rm Gemfile.lock
|
||||||
|
fi
|
||||||
|
|
||||||
if command_exists bundler${RUBYSUFFIX}
|
if command_exists bundler${RUBYSUFFIX}
|
||||||
then
|
then
|
||||||
bundle${RUBYSUFFIX} install --without test development
|
bundle${RUBYSUFFIX} install --without test development
|
||||||
|
|||||||
Reference in New Issue
Block a user