LoginSignup
1
1

More than 1 year has passed since last update.

Dockerで何もしていないのにRubyのバージョンが変わった時の対処法

Posted at

エラー内容

突然、Dockerで環境構築していたアプリで、

terminal
Your Ruby version is 2.7.4, but your Gemfile specified 3.1.2

となり、何もできなくなった。。。

解決方法

vscodeの拡張機能「Remote - Containers」を使っていたので、そこの「Rebuild Container」をクリック!
Image from Gyazo
ビルドされるのを待って、再度試すとエラー解決していました👏

正常にビルドされていなかったことが原因っぽいです。

1
1
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
1
1