Starting the Rails Console in Production Mode
To specify which mode you’d like the rails console to boot up in, just provide the string without any flags.
./script/console production ./script/console test ./script/console development
If you’re on windows, remember the backslash “\” rather than forward “/” and I believe you’ll also have to feed the ruby interpreter as well, like so…
ruby script\console production


