When I run bundle exec rails console production or rails console production via SSH on the server in the Current folder of the Capistr
bundle exec rails console production
rails console production
Current
It's been a little while since this was answered.
In my case I needed to run:
rake app:update:bin
Note- app rather than rails.
I was missing the bin directory all-together in my Rails 5.1 App