use ruby-rack package instead of gem install
This commit is contained in:
parent
9020bb1f23
commit
ebb1fe9bfc
1 changed files with 0 additions and 2 deletions
2
debian/gitlab.postinst
vendored
2
debian/gitlab.postinst
vendored
|
@ -77,8 +77,6 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.2.2 "^ipaddr$" >/dev/n
|
||||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 2.3.2 "^deckar01-task_list$" >/dev/null; then gem install -v 2.3.2 deckar01-task_list; fi"
|
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 2.3.2 "^deckar01-task_list$" >/dev/null; then gem install -v 2.3.2 deckar01-task_list; fi"
|
||||||
# We need this version to use newer googleauth
|
# We need this version to use newer googleauth
|
||||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.53.0 "^google-api-client$" >/dev/null; then gem install -v 0.53.0 google-api-client; fi"
|
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.53.0 "^google-api-client$" >/dev/null; then gem install -v 0.53.0 google-api-client; fi"
|
||||||
# we need rack ~> 2.2.6
|
|
||||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 2.2.6' "^rack$" >/dev/null; then gem install -v '~> 2.2.6' rack; fi"
|
|
||||||
|
|
||||||
# Uninstall rack 3.x
|
# Uninstall rack 3.x
|
||||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~>3.0' "^rack$" >/dev/null; then gem uninstall -v '~>3.0' rack; fi"
|
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~>3.0' "^rack$" >/dev/null; then gem uninstall -v '~>3.0' rack; fi"
|
||||||
|
|
Loading…
Reference in a new issue