The rails and all my gem + homebrew files are set up to this point.
I ran
homebrew install postgresql
and followed the prompts to a large extent, as indicated in this video , but it continued to give me error messages saying that there was already a running server. I checked
which psql
in the terminal and he reported
usr/bin
but not
usr/local/bin
indicates that I used postgres, which comes with osx, and not with a new homebrew installation.
When I tried to start the database server, I received an error message saying that the server is already running. The postgres accompanying documentation mentions this error message, but there is no real working solution.
An attempt by a brew doctor confirmed that I needed to change the PATH in .bash_profile.
, .bash_profile.
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin
postgres , , , rails.
rails new blog -d postgresql
Rails is not currently installed on this system. To get the latest version,
simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
, bash_profile , .
, postgres , , .
, - , , - .
, - - .bash_profile?