Guest User

Untitled

a guest
Jul 18th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # In Gemfile...
  2. group :development do
  3. gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'
  4. end
  5.  
  6. group :production do
  7. gem 'mysql2'
  8. end
  9.  
  10.  
  11.  
  12. # In database.yml
  13. development:
  14. adapter: sqlite3
  15. database: db/development.sqlite3
  16. production:
  17. adapter: mysql2
  18. encoding: utf8
  19. database: project_name_production
  20. username: whatever
  21. password: password123
Add Comment
Please, Sign In to add comment