Modify gemfile, and add this be:
#below gem 'sqlite3'
gem 'mysql2'
Example database.yaml
development:
adapter: mysql2
encoding: utf8
database: yourdbname
username: yourusername
password: "your password"
host: localhost
port: 3306
No comments:
Post a Comment