Frequently Asked Questions
Here are a few things you can do to help if you run into any trouble with the installation process. If you need assistance, join the #website channel in our official Girl Develop It Slack.
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
Generally, this error means that you do not have a postgres process started on your machine. Try doing the following steps:
- Make sure
~/Library/LaunchAgentsdoes not include*.plist. - Restart your computer.
- Make sure that there is a postgres process running on your machine.
- Add this to your ~/.bash_profile:
export PGHOST=localhost. - Restart terminal or run
source ~/.bash_profile. - Try
rakeorcreatedbcommands again.
After that, you can run rails server to start the server on port 3000 or rails console for a REPL.
Upgrading PostgreSQL from 9.2.*
- Uninstall PostgreSQL.
sh rm rf /usr/local/var/postgres/(or wherever you have your postgres/ directory).- Install PostgreSQL 9.3.