Skip to content

Instantly share code, notes, and snippets.

@dv
Created September 25, 2012 10:00
Show Gist options
  • Save dv/3780996 to your computer and use it in GitHub Desktop.
Save dv/3780996 to your computer and use it in GitHub Desktop.
Rake task to start PostgreSQL on Mac OS X
# Usage:
# rake db
desc "Start Postgresql"
task :db do
exec "postgres -D /usr/local/var/postgres"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment