Skip to content

Instantly share code, notes, and snippets.

@abstractj
Created July 20, 2011 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abstractj/1094371 to your computer and use it in GitHub Desktop.
Save abstractj/1094371 to your computer and use it in GitHub Desktop.
running_modes1
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