🤮

【Docker】Could not find hoge in any of the sourcesの解決

2023/04/17に公開

エラー

docker-compose up後に以下のエラーが発生。

Could not find hoge-1.10.1 in any of the sources
Run `bundle install` to install missing gems.

いや、そもそも起動できんからbundle installできんやん!!!!!!!

解決策

docker-compose build --no-cache

でビルドし直すと同時にbundle installしてくれます。
キャッシュが関係してるっぽい...?

Discussion