Created
January 23, 2014 12:20
-
-
Save miry/8577681 to your computer and use it in GitHub Desktop.
Run remote Rails console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh example.com "cd /data/apps/example/current && ( RAILS_ENV=production RBENV_ROOT=/data/rbenv RBENV_VERSION=2.0.0-p247 /data/rbenv/bin/rbenv exec bundle exec rails console)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment