Created
March 11, 2011 22:25
-
-
Save t7y/866687 to your computer and use it in GitHub Desktop.
postgres database.yml file for sample app
This file contains 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
development: | |
adapter: postgresql | |
encoding: unicode | |
database: sample_development | |
username: postgres | |
password: | |
host: localhost | |
port: 5432 |
This file contains 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
source :rubygems | |
gem 'rails', '3.0.4' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'pg' | |
gem 'ar-octopus', :git => 'git://github.com/tchandy/octopus.git', :require => "octopus" | |
group :test do | |
gem 'capybara' | |
gem 'database_cleaner' | |
gem 'cucumber-rails' | |
gem 'cucumber' | |
gem 'spork' | |
gem 'launchy' | |
gem "rspec-rails", ">= 2.0.0.beta.16" | |
gem 'ruby-debug' if RUBY_VERSION < "1.9" | |
gem "aruba" | |
end |
This file contains 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
postgres: &postgres | |
adapter: postgresql | |
username: postgres | |
password: | |
encoding: unicode | |
host: localhost | |
port: 5432 | |
octopus: | |
octopus_enviroments: | |
- development | |
development: | |
asia: | |
database: asia_shard | |
<<: *postgres | |
europe: | |
database: europe_shard | |
<<: *postgres | |
america: | |
database: america_shard | |
<<: *postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment