forked from OpenNeo/impress
hook up development database
This commit is contained in:
parent
4d4ded3c11
commit
cee6ee68a1
2 changed files with 8 additions and 5 deletions
4
Gemfile
4
Gemfile
|
@ -8,6 +8,10 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
|
|||
|
||||
gem 'haml', '>= 3.0.0'
|
||||
|
||||
group :development do
|
||||
gem 'mysql'
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem 'rspec-rails', '>= 2.0.0.beta.8'
|
||||
gem 'factory_girl', :git => 'git://github.com/thoughtbot/factory_girl.git', :branch => 'rails3'
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
# SQLite version 3.x
|
||||
# gem install sqlite3-ruby (not necessary on OS X Leopard)
|
||||
development:
|
||||
adapter: sqlite3
|
||||
database: db/development.sqlite3
|
||||
adapter: mysql
|
||||
encoding: utf8
|
||||
database: wearables
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
username: wearables
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
|
|
Loading…
Reference in a new issue