# Error when run rails project

**URL:** <https://www.ruby-forum.com/t/error-when-run-rails-project/153398>\
**Category:** Rails\
**Created:** [November 16, 2008, 11:11am UTC](https://www.ruby-forum.com/t/error-when-run-rails-project/153398 "2008-11-16T11:11:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![em\_lanh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f9ae1b/32.png) [@em\_lanh](https://www.ruby-forum.com/u/em_lanh)\
**Post date:** [November 16, 2008, 11:11am UTC](https://www.ruby-forum.com/t/error-when-run-rails-project/153398/1 "2008-11-16T11:11:38Z")

</div>

Hi everyone,  
I’m new in rails. After I ran “gem update --system”, I had a lot of  
problems when running rails projects. I tried to fix from error to error  
and now when I run rails project, it occurs error like this:

About your applicationâ€™s environment  
PGError in Rails/infoController#properties

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”?

Anyone who had had the same problem and solved it, please tell me how to  
do with this problem.  
Thank a lot

---

<div class="post-metadata">

**Author:** ![em\_lanh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f9ae1b/32.png) [@em\_lanh](https://www.ruby-forum.com/u/em_lanh)\
**Post date:** [November 16, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/error-when-run-rails-project/153398/2 "2008-11-16T14:09:44Z")

</div>

Em Lanh wrote:

> Hi everyone,  
> I’m new in rails. After I ran “gem update --system”, I had a lot of  
> problems when running rails projects. I tried to fix from error to error  
> and now when I run rails project, it occurs error like this:
> 
> About your applicationâ€™s environment  
> PGError in Rails/infoController#properties
> 
> 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”?
> 
> Anyone who had had the same problem and solved it, please tell me how to  
> do with this problem.  
> Thank a lot

Any suggestion please, I’m in hurry ☹  
Many thanks
