Running the Rails Console

Start by SSHing to your server. Then go to your STACK_PATH (eg. cd $STACK_PATH) and run the following command:

$ bundle exec rails c <environment>

**Possible values for :**

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'