[Rails] Re: Problems using postgresql (postgres-pr) gem
Postgres is confusing (to me). I install "pg (0.10.0)" and that is
working for me. I'm currently toying with Rails 3 using Ruby 1.9.2 but
I've done lots of Ruby 2 using Ruby 1.8 and 1.9.1.
If you use the --database=postgresql option when you create your
project, it will have this at the top:
# PostgreSQL. Versions 7.4 and 8.x are supported.
#
# Install the pg driver:
# gem install pg
# On Mac OS X with macports:
# gem install pg --
--with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
# Choose the win32 build.
# Install PostgreSQL and put its /bin directory on your path.
Good luck
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home