Skip to content

Instantly share code, notes, and snippets.

@therealechan
Created August 21, 2015 04:13
Show Gist options
  • Save therealechan/769b65a7465909ecb3d1 to your computer and use it in GitHub Desktop.
Save therealechan/769b65a7465909ecb3d1 to your computer and use it in GitHub Desktop.
Create pg database via cap command
default: &default
  adapter: postgresql
  encoding: utf8
  # For details on connection pooling, see rails configuration guide
  # http://guides.rubyonrails.org/configuring.html#database-pooling
  pool: 5
  template: template0 # must added!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment