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 developmentIf 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
Just finishing up brewing up some fresh ground comments...