Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I get the following error (-bash: initdb: command not found) in the terminal when trying to install postgres on my mountain lion mac osx?

Also, does any one have a good resource for installing postgres, and setting it up? Working with bash and setting the proper path.

I have been trying to install postgres all day and have no luck, I am working with Ruby on Rails.

share|improve this question

migrated from stackoverflow.com Oct 2 '12 at 6:56

This question came from our site for professional and enthusiast programmers.

1 Answer 1

The error probably means that your path is not set correctly; what you'll need to do in order to fix it depends on how you're trying to install it.

In any case, the absolute easiest way to get Postgres running on a Mac is Postgress.app (http://postgresapp.com). Just download, drag to Applications, and start.

share|improve this answer
    
I downloaded/installed it, but when I click it opens to postgress.app site on the browser. How do I access and setup a db and user? –  user630581 Oct 2 '12 at 2:51
    
Do you see the elephant icon in your menu bar? It has an item for the documentation, which is here: postgresapp.com/documentation –  dpassage Oct 2 '12 at 5:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.