Skip to content

Instantly share code, notes, and snippets.

@mbailey
Created June 26, 2011 10:53
Show Gist options
  • Select an option

  • Save mbailey/1047509 to your computer and use it in GitHub Desktop.

Select an option

Save mbailey/1047509 to your computer and use it in GitHub Desktop.
deprec allows you to choose preferred services
# deprec defines some generic recipes for common services
# including ruby interpreter, web, app and database servers
#
# They default to my current favourites which you can override
#
# Service options
CHOICES_RUBY_VM = [:mri, :ree]
CHOICES_WEBSERVER = [:apache, :none]
CHOICES_APPSERVER = [:passenger, :none]
CHOICES_DATABASE = [:mysql, :postgresql, :sqlite, :none]
#
# Service defaults
set :ruby_vm_type, :mri
set :web_server_type, :apache
set :app_server_type, :passenger
set :db_server_type, :mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment