> I have a mac. sometimes that makes a difference, but this time I'm not so sure.
>
> I have installed the postgresql 9.1 from Enterprise DB with out a problem. Works great. Did one option in there to refuse network connections but that shouldn't effect localhost connections.
>
> installed pg, eventually. Took me a while to figure out if this was the bestest of the many gems out there but this is what I went with.
>
> database.yml refers to the database adapter as postgres
adapter: postgresql
(not postgres)
> rake db:migrate requires that I install 'activerecord-postgres-adapter'
> there is no such thing.
>
> But there seems to be several postings on the internet that says something like this configuration would work.
>
> What's the current best practice for setting up postgresql?
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
OMG do I feel dumb...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hJBwIqGPCtAJ.
Use the 'pg' gem:
gem 'pg'
And in config/database.yml:
development:
adapter: postgresql
database: my_checkins_development
host: localhost
Taken from a tutorial on my website: http://lassebunk.dk/2011/09/10/creating-a-location-aware-website-using-ruby-on-rails-and-postgis/
/Lasse