Written by Sean Behan on Sun Jun 17th 2012

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

Tagged with..
#console #development #Rails #Ruby on Rails

Just finishing up brewing up some fresh ground comments...