Rails console into Docker on Heroku
I’ve got a Rails app on a Docker image deployed to Heroku using
heroku docker:release. I normally use
heroku run rails console to access the console, but I am getting
bash: /app/user/bin/rails: Permission denied. How do I access the Rails console via the Heroku-CLI command line?
2 Solutions collect form web for “Rails console into Docker on Heroku”
docker-compose run web rails c
heroku run bundle exec rails console