Philip Hallstrom wrote in post #967046:
> On Dec 7, 2010, at 1:49 PM, Rajinder Yadav wrote:
>
>>  encoding: unicode
>> ** Invoke environment (first_time)
>> ** Execute environment
>> ** Execute db:migrate
>> rake aborted!
>> could not connect to server: No such file or directory
>>        Is the server running locally and accepting
>>        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.
>> 5432"?
>
> Is the server running locally and accepting connections on that unix
> domain socket?  You don't say that it is...
>
> Or if you don't want to tweak that, change your database.yml and add a
> "host: localhost" entry.
>
> -philip

Hey Phillip Hallstrom, How "host: localhost" resolves the problem. Of
course it resolved my problem without any new configuration. Please tell
me how does it worked.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/758e4720d7002e0d1cc8c86c1e37abc4%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to