diff options
author | Sergey Shatunov | 2017-01-16 23:35:02 +0700 |
---|---|---|
committer | Sergey Shatunov | 2017-01-16 23:35:02 +0700 |
commit | 8ab58b99be848c6725c76584567fa005847824ea (patch) | |
tree | 88d618655f4304def4d312257d8fc8cc9bc097c0 /gitlab.install | |
parent | 97a7d45fdf0886aeb2666ecd9ab4685dce546a9e (diff) | |
download | aur-8ab58b99be848c6725c76584567fa005847824ea.tar.gz |
Update to ruby2.3 packages
Diffstat (limited to 'gitlab.install')
-rw-r--r-- | gitlab.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gitlab.install b/gitlab.install index 6e768c1c254f..ae15be812cc9 100644 --- a/gitlab.install +++ b/gitlab.install @@ -7,15 +7,15 @@ post_install() { echo "Copy /usr/share/doc/gitlab/secrets.yml.example to /etc/webapps/gitlab/secrets.yml and configure it" echo "Copy a database example config from /usr/share/doc/gitlab/ to /etc/webapps/gitlab/database.yml and configure it" echo "Setup the database:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle exec rake gitlab:setup RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:setup RAILS_ENV=production\"" echo "Finally run the following commands to check your installation:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle exec rake gitlab:env:info RAILS_ENV=production\"" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle exec rake gitlab:check RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:env:info RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake gitlab:check RAILS_ENV=production\"" } post_upgrade() { echo "You should upgrade your database:" - echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle exec rake db:migrate RAILS_ENV=production\"" + echo "# su - gitlab -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production\"" echo "Afterwards, restart gitlab-related services:" echo "# systemctl daemon-reload" echo "# systemctl restart gitlab-sidekiq gitlab-unicorn gitlab-workhorse" |