以下の内容はhttps://otiai10.hatenablog.com/entry/2016/01/12/144144より取得しました。


docker-compose buildでbundle installがCould not fetch specs from rubygems.orgとなる

問題

Mac上でdocker-machineでVMを立て、そこに向けてdocker-composeを華麗に決める

% docker-compose build
# 略
Step 5 : RUN bundle install
 ---> Running in e8c4e026277a
# 略
Fetching source index from https://rubygems.org/
Could not fetch specs from https://rubygems.org/
ERROR: Service 'hisyotan' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 17

調査

qiita.com

これが似てる

解決

% docker-machine restart oppai

したら治った




以上の内容はhttps://otiai10.hatenablog.com/entry/2016/01/12/144144より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14