Ruby on Rails Wednesday, October 15, 2014

On 15 October 2014 08:46, bradford li <bradfordli@gmail.com> wrote:
> I posted a question on stackoverflow seeking help. I;ve been asking on the
> ruby on rails IRC channel as well. I'm not sure how to fix this issue. I am
> new to ruby on rails and I having a hard time getting postgres to work with
> my rails app. When I run rake db:create or rake db:migrate, I get these
> errors
>
> could not connect to server: No such file or directory
>
> Is the server running locally and accepting
>
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Show us database.yml

Can you access the pg server using, for example, psql?

Colin

>
>
> http://stackoverflow.com/questions/26376751/pgconnectionbad-could-not-connect-to-server-no-such-file-or-directory
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/45946a10-4913-4721-bcb1-b4499a826a93%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtUSbMRX%2B6-WZN3hzdVLTmkhPS2E_nVviuT9Y0W%3DcjFkQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment