From 7868b26b7a9ecbeefd3fb4344d3d419d69bc29a6 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Wed, 25 Jun 2014 13:29:45 +0530 Subject: [PATCH] removed --local flag from bundle install bundle automatically uses the cache when available --- assets/setup/install | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/setup/install b/assets/setup/install index e1db5a36..6225d7e8 100755 --- a/assets/setup/install +++ b/assets/setup/install @@ -71,14 +71,10 @@ sudo -u git -H touch log/production.log # install gems required by gitlab, use local cache if available if [ -d "/app/setup/cache" ]; then - # offline gem installation mv /app/setup/cache vendor/ chown -R git:git vendor/cache - sudo -u git -H bundle install --local --deployment --without development test aws -else - # online gem installation - sudo -u git -H bundle install --deployment --without development test aws fi +sudo -u git -H bundle install --deployment --without development test aws # make sure everything in /home/git is owned by the git user chown -R git:git /home/git/