I am trying to run a rails console in amazon opsworks, I have tried:
sudo rails console -e production
sudo rails console production
RAILS_ENV=production sudo rails console
RAILS_ENV=production RACK_ENV=production sudo rails console
With each of those commands the console is spinning up in the development environment. What do I need to do to get this console started in the environment of my choosing?