I did the following after installing Postgres locally:
gem install postgres-pr
I changed the database.yml:
development:
adapter: postgresql
encoding: unicode
database: typhoon_development
pool: 5
Then, when I did a rake db:create got:
uninitialized constant PostgresPR::Connection::UNIXSocket
Couldn't create database for {"encoding"=>"unicode", "adapter"=>"postgresql", "database"=>"typhoon_development", "p
ool"=>5}
I’m doing it locally to mimic the heroku environment.
I used a different gem