`rails console` via SSH for dockerized Rails app

Hello,

I successfully converted my Rails app from Render’s Ruby service to Docker, but I don’t know how to access rails console when I SSH into the server.

When I run rails c I get bash: rails: command not found

Any help is very much appreciated.

Nevermind. Figured it out. bin/rails c is the solution.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.