I use rails edge (4.0) and when executing:
bundle exec rake db:create
I get
Specified 'postgresql' for database adapter, but the gem is not loaded. Add `gem 'pg'` to your Gemfile.
I do have "gem pg" in my Gemfile and I have run bundle install...
what could be the reason for this?
thank you
For me, works without user/pass, and using
host
settings onconfig/database.yml
The problem was that I was using an old version of pg gem (0.9.0), newer versions work as expected!