我有 gentoo linux,我在其中運行 gitlab 實例。我被困升級到dev-vcs/gitlab-gitaly-1.7.1安裝時執行指令
bundle install --deployment
輸出是:
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Could not fetch specs from https://rubygems.org/
make[1]: *** [Makefile:32: ../.ruby-bundle] Error 17
make[1]: Leaving directory '/var/tmp/portage/dev-vcs/gitlab-gitaly-1.7.1/work/gitlab-gitaly-1.7.1/_build'
make: *** [Makefile:24: build] Error 2
* ERROR: dev-vcs/gitlab-gitaly-1.7.1::gitlab failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-vcs/gitlab-gitaly-1.7.1::gitlab'`,
* the complete build log and the output of `emerge -pqv '=dev-vcs/gitlab-gitaly-1.7.1::gitlab'`.
* The complete build log is located at '/var/tmp/portage/dev-vcs/gitlab-gitaly-1.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-vcs/gitlab-gitaly-1.7.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-vcs/gitlab-gitaly-1.7.1/work/gitlab-gitaly-1.7.1'
* S: '/var/tmp/portage/dev-vcs/gitlab-gitaly-1.7.1/work/gitlab-gitaly-1.7.1'
我嘗試重新安裝bundler、升級ruby、停用ipv6路由,但沒有任何幫助。我已驗證我能夠訪問https://rubygems.org/使用 wget,我可以 ping rubygems.org。我猜想openssl可能有問題。我有 dev-libs/openssl-1.0.2r 和 dev-lang/ruby-2.4.6 和 dev-lang/ruby-2.5.5,但使用其中任何一個都不起作用。有人遇到並解決過這個問題嗎?