0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

私が遭遇したエラー アーカイブ〈随時更新〉

Posted at

🐳 Docker 関連…

🤷🏻‍♂️❓ $ docker-compose build で、 $ bundle install を実行する際に発生したエラー
ターミナル
Your bundle is locked to 'Ruby Gem名', but that version could not be found in any of the sources listed in your Gemfile.
If you haven't changed sources, that means the author of 'Ruby Gem名' has removed it.
You'll need to update your bundle to a version other than 'Ruby Gem名' that hasn't been removed in order to install.
  • 意訳
    Gemfile.lock の中にある 'Ruby Gems' のバージョンが Ruby Gems の中に見当たりません。
    インストールするためには、その 'Ruby Gems' を更新する必要があります。

  • 解決方法
    $ docker-compose run(exec)*** bundle update 'Ruby Gem名'
    ※ Ruby を動かしているコンテナに対して、エラーを起こした Ruby Gems をアップデートさせる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?