PC (Windows 7) で亜硝酸を使用しており、サーバーへの接続に問題があります (Ruby on Rails を使用)。昨日は完全に機能しました(同じプロジェクト、同じコンピューター)。
私が得ているエラー:
psql: 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"?
私のdatabase.ymlファイル:
development:
adapter: postgresql
database: mvp_development
test:
adapter: postgresql
database: mvp_test
Gemfile に 'pg' が含まれていることを確認し、bundle update と bundle install を実行し、pg をアンインストールして bundle install を実行し、gem pristine pg を実行してみました。