Another tip for myself, courtesy of a co-worker.
If you want to run a rails console on a remote app you can use the `ssh -t` option. The -t option forces pseudo terminal allocation. Put your pubkey on the remote system to avoid password prompts.
ssh -t username@some_server 'cd /remote/rails/app/base/directory && bundle exec rails c production'
(
Read more... )