This is the first post.
While watching this video while building the environment
docker-compose build
rear
docker-compose up
After executing
Could not find gem ‘mysql2 (>= 0.4.4, < 0.6.0)’ in any of the gem sources listed in your Gemfile.
I got the error.
# Development environment
macOS catalina
Version 10.15.7
# What I tried
For the time being, Gugu
* Reinstall myslq
+ Update from ruby 2.5.8 to 2.6.6
+ Reconfigure docker desktop
I tried various other things, but I tried various things, but the event did not change.
4 hours have passed.
The rising sun is about to cry.
# Solutions
```docker-compose run web bundle install```
```docker-compose up```
It was solved by executing in the order of.
Recommended Posts