YAML gotchas part 2: you can't use those references or whatever they're called before they are defined
This commit is contained in:
parent
8739d618ba
commit
1ea2473986
1 changed files with 7 additions and 3 deletions
|
|
@ -16,13 +16,20 @@ postgres: &postgres
|
||||||
password:
|
password:
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
|
|
||||||
|
# You can ignore this
|
||||||
|
postgres_travis: &postgres_travis
|
||||||
|
adapter: postgresql
|
||||||
|
username: postgres
|
||||||
|
|
||||||
|
# Comment the the mysql line and uncomment the postgres line
|
||||||
|
# if you want to use postgres
|
||||||
common: &common
|
common: &common
|
||||||
# Choose one of the following
|
# Choose one of the following
|
||||||
<<: *mysql
|
<<: *mysql
|
||||||
#<<: *postgres
|
#<<: *postgres
|
||||||
|
|
||||||
|
|
||||||
|
# Normally you don't need to touch anything here
|
||||||
development:
|
development:
|
||||||
<<: *common
|
<<: *common
|
||||||
database: diaspora_development
|
database: diaspora_development
|
||||||
|
|
@ -38,6 +45,3 @@ integration1:
|
||||||
integration2:
|
integration2:
|
||||||
<<: *common
|
<<: *common
|
||||||
database: diaspora_integration2
|
database: diaspora_integration2
|
||||||
postgres_travis: &postgres_travis
|
|
||||||
adapter: postgresql
|
|
||||||
username: postgres
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue