Commit f00ccf2f authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

truncate Gemfile.lock always

parent a4a20bb4
......@@ -47,6 +47,7 @@ ..."
echo "Installing gems with rubygems ..."
su ${diaspora_user} -s /bin/sh -c "mkdir -p ~/vendor/bundle"
su ${diaspora_user} -s /bin/sh -c "touch ~/Gemfile.lock && truncate -s 0 ~/Gemfile.lock"
su ${diaspora_user} -s /bin/sh -c "bundle install --path vendor/bundle --with ${BUNDLE_WITH} --without development test"
# Fix permissions (see #847286)
su ${diaspora_user} -s /bin/sh -c "find vendor/bundle -type f -exec chmod ga-w {} \;"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment