add database.yml.example for mysql and modify gemfile