macOS 10.15.5 Rails 5.2.4.2 Docker 19.03.12
When trying to add pagination function in Docker environment, add the following gem and then execute `bundle install`
to restart the server ...
gemfile
gem 'kaminari'
terminal
$ bundle install
$ docker-compose restart
But the browser denied access ...
First of all, when you execute `` `docker-compose up```, it was confirmed that Docker has crashed, so try the following operation to connect to the browser again.
terminal
$ docker-compose build
Then run docker-compose up
again.
terminal
$ docker-compose up
Then I think that the connection to the browser can be successful even with the gem added! Try it if it crashes when adding a gem in the Docker environment.