common: &common connection_string: couchbase://localhost bucket: <%= bucket_name || app_name %> username: <%= username || bucket_name || app_name %> password: <%= password %> development: <<: *common bucket: <%= bucket_name || app_name %> test: <<: *common bucket: <%= bucket_name || app_name %>_test # set these environment variables on your production server production: connection_string: <%%= ENV['COUCHBASE_CONNECTION_STRING'] %> bucket: <%%= ENV['COUCHBASE_BUCKET'] %> username: <%%= ENV['COUCHBASE_USER'] %> password: <%%= ENV['COUCHBASE_PASSWORD'] %>