Created
June 26, 2011 10:53
-
-
Save mbailey/1047509 to your computer and use it in GitHub Desktop.
deprec allows you to choose preferred services
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
| # 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