Permalink
Browse files

Fixing syntax of set commands

  • Loading branch information...
1 parent a328e27 commit fa83af3a76e63faab4a87af2471e8f21db2d73f2 @cwsaylor cwsaylor committed Apr 3, 2012
Showing with 10 additions and 6 deletions.
  1. +10 −6 README.md
View
@@ -59,11 +59,15 @@ Back in your project:
## Advanced Options
+### Setup
+
+ set(:domain) { "#{application}.com" }
+
### PostgreSQL
set :postgresql_host, "localhost"
- set :postgresql_user { application }
- set :postgresql_database { "#{application}_production" }
+ set(:postgresql_user) { application }
+ set(:postgresql_database) { "#{application}_production" }
### Ruby
@@ -72,10 +76,10 @@ Back in your project:
### Unicorn
- set :unicorn_user { user }
- set :unicorn_pid { "#{current_path}/tmp/pids/unicorn.pid" }
- set :unicorn_config { "#{shared_path}/config/unicorn.rb" }
- set :unicorn_log { "#{shared_path}/log/unicorn.log" }
+ set(:unicorn_user) { user }
+ set(:unicorn_pid) { "#{current_path}/tmp/pids/unicorn.pid" }
+ set(:unicorn_config) { "#{shared_path}/config/unicorn.rb" }
+ set(:unicorn_log) { "#{shared_path}/log/unicorn.log" }
set :unicorn_workers, 2
## Future Plans

0 comments on commit fa83af3

Please sign in to comment.