docker-compose Rails spring doesn't work docker-compose Rails spring doesn't work docker docker

docker-compose Rails spring doesn't work


Invoke the app inside the container via bin/spring:

$ docker-compose exec web bash$ bin/spring rails c

Same goes for running tests, etc.:

$ bin/spring rspec

Run spring alone for some extra hints:

$ bin/spring

I tested this with Ruby 2.4.3, Rails 5.1.4, and Spring 2.0.2.