Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

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

Tagged w/ #console #development #railsruby on rails