Running Rails console
Start by SSHing to your server. Then go to your
cd $STACK_PATH) and run the following command:
$ bundle exec rails c <environment>
Possible values for <environment>:
- development (default)
To run your Rails console as the Nginx user, you can use the following command:
$ sudo -u nginx bash -c 'source /var/.cloud66_env && bundle exec rails c'