Skip to content

Instantly share code, notes, and snippets.

@jabley
Created September 28, 2009 13:08
Show Gist options
  • Save jabley/195433 to your computer and use it in GitHub Desktop.
Save jabley/195433 to your computer and use it in GitHub Desktop.
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
common: &&common
adapter: <%= (defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby") ? "jdbc" : "" %>sqlite3
pool: 5
timeout: 5000
development:
<< : *common
database: db/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<< : *common
database: db/test.sqlite3
production:
<< : *common
database: db/production.sqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment