Skip to content

Instantly share code, notes, and snippets.

@romashamin
Created May 14, 2014 06:48
Show Gist options
  • Save romashamin/43024bc95b3ec9bf62f4 to your computer and use it in GitHub Desktop.
Save romashamin/43024bc95b3ec9bf62f4 to your computer and use it in GitHub Desktop.
bundle exec rails s
=> Booting WEBrick
=> Rails 3.2.18 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/apple/.gem/ruby/2.1.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `initialize': could not connect to server: No such file or directory (PG::ConnectionBad)
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
from /Users/apple/.gem/ruby/2.1.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `new'
from /Users/apple/.gem/ruby/2.1.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `connect'
from /Users/apple/.gem/ruby/2.1.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:324:in `initialize'
from /Users/apple/.gem/ruby/2.1.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `new'
и так далее
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment