Sha256: 699eb350e3503569116011865f824a528edf14f1fe9c94aba265c945799d59e1

Contents?: true

Size: 716 Bytes

Versions: 2

Compression:

Stored size: 716 Bytes

Contents

gem "mysql2"

rvm "bundle install"

file 'config/database.yml' do
  %{
---
development: &defaults
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: #{project_name}_development
  pool: 5
  username: root
  password:

# 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:
  <<:       *defaults
  database: #{project_name}_test

production:
  <<:       *defaults
  database: #{project_name}_production
}
end

FileUtils.copy "config/database.yml", "config/database.yml.example"

if yes?("Create databases using rake db:create:all?")
  rake "db:create:all"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whtt-eric-beet-0.6.11 lib/beet/recipes/rails3/db/mysql.rb
whtt-eric-beet-0.6.10 lib/beet/recipes/rails3/db/mysql.rb