Created
July 20, 2011 04:57
-
-
Save abstractj/1094371 to your computer and use it in GitHub Desktop.
running_modes1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map "run" => "start" | |
method_options :clustered => :boolean | |
desc "run", "Run TorqueBox" | |
def start | |
setup_environment | |
options.clustered ? TorqueBox::DeployUtils.run_server_clustered : TorqueBox::DeployUtils.run_server | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment