Guest User

Untitled

a guest
May 4th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. Unexpected error while processing request: could not connect to server: No such file or directory
  2. Is the server running locally and accepting
  3. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  4.  
  5. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `initialize'
  6. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `new'
  7. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `connect'
  8. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'
  9. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'
  10. /bundle/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
  11.  
  12. default: &default
  13. adapter: postgresql
  14. encoding: unicode
  15. pool: 5
  16. timeout: 5000
  17.  
  18. development:
  19. <<: *default
  20. database: <%= Figaro.env.rds_db_name || Figaro.env.database_name %>
  21. host: <%= Figaro.env.rds_hostname || Figaro.env.database_host %>
  22. port: <%= Figaro.env.rds_port || Figaro.env.database_port %>
  23. username: <%= Figaro.env.rds_username || Figaro.env.database_username %>
  24. password: <%= Figaro.env.rds_password || Figaro.env.database_password %>
  25.  
  26. test:
  27. <<: *default
  28. database: cluetap_test
  29.  
  30. dev:
  31. <<: *default
  32. database: <%= Figaro.env.database_name %>
  33.  
  34. staging:
  35. <<: *default
  36. database: <%= Figaro.env.rds_db_name || Figaro.env.database_name %>
  37. host: <%= Figaro.env.rds_hostname || Figaro.env.database_host %>
  38. port: <%= Figaro.env.rds_port || Figaro.env.database_port %>
  39. username: <%= Figaro.env.rds_username || Figaro.env.database_username %>
  40. password: <%= Figaro.env.rds_password || Figaro.env.database_password %>
  41.  
  42. production:
  43. <<: *default
  44. database: <%= Figaro.env.rds_db_name || Figaro.env.database_name %>
  45. host: <%= Figaro.env.rds_hostname || Figaro.env.database_host %>
  46. port: <%= Figaro.env.rds_port || Figaro.env.database_port %>
  47. username: <%= Figaro.env.rds_username || Figaro.env.database_username %>
  48. password: <%= Figaro.env.rds_password || Figaro.env.database_password %>
Add Comment
Please, Sign In to add comment