Guest User

Untitled

a guest
Aug 1st, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. Get SQLite error using heroku db:push when I'm using PostgreSQL as development db
  2. heroku db:push
  3.  
  4. ! Taps Load Error: cannot load such file -- sqlite3
  5. ! You may need to install or update the taps gem to use db commands.
  6. ! On most systems this will be:
  7. !
  8. ! sudo gem install taps
  9.  
  10. development:
  11. adapter: postgresql
  12. encoding: unicode
  13. database: xxxx
  14. pool: 5
  15. timeout: 5000
  16. username: xxxx
  17. password: xxxx
  18.  
  19. test:
  20. adapter: postgresql
  21. encoding: unicode
  22. database: test
  23. pool: 5
  24. timeout: 5000
  25. username: xx
  26. password: xx
  27.  
  28. production:
  29. adapter: postgresql
  30. encoding: unicode
  31. database: test
  32. pool: 5
  33. timeout: 5000
  34.  
  35. heroku db:push postgres://xx:xx@localhost/xx
  36.  
  37. ! Taps Load Error: cannot load such file -- sqlite3
  38. ! You may need to install or update the taps gem to use db commands.
  39. ! On most systems this will be:
  40. !
  41. ! sudo gem install taps
  42.  
  43. group :development do
  44. gem 'taps', :require => false # has an sqlite dependency, which heroku hates
  45. end
Add Comment
Please, Sign In to add comment