Enable Rails development mode on a Media Temple’s (gs) container

Note this is for emergencies only development will suck up tons of RAM, expose errors/system paths, amongst other undesirable effects.

stop the app

mtr stop [appname]

set development mode

mtr set_option [appname] environment=development

start the app again

mtr start [appname]

debug your app (and fix it, woop!)

stop the app, set productin mode, start the app again; done!

This entry was posted in Ruby on Rails. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word