remove development, test from bundle install

This commit is contained in:
Praveen Arimbrathodiyil 2016-09-18 12:59:36 +05:30
parent 854614e002
commit 72532ad17c

2
debian/postinst vendored
View file

@ -215,7 +215,7 @@ EOF
su ${gitlab_user} -s /bin/sh -c "touch ${gitlab_data_dir}/Gemfile.lock" su ${gitlab_user} -s /bin/sh -c "touch ${gitlab_data_dir}/Gemfile.lock"
echo "Verifying we have all required libraries..." echo "Verifying we have all required libraries..."
su ${gitlab_user} -s /bin/sh -c 'bundle install --local' su ${gitlab_user} -s /bin/sh -c 'bundle install --without development test --local'
echo "Running final rake tasks and tweaks..." echo "Running final rake tasks and tweaks..."
. /usr/lib/gitlab/scripts/rake-tasks.sh . /usr/lib/gitlab/scripts/rake-tasks.sh