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?
heroku run bundle exec rails console
尝试这个
docker-compose run web rails c
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.