2

I want to use a postgres database for 2 rails projects and for some php blogs. Does anybody have tips for me, which pg gem I should install for ruby? I'm searching also for some general postgres config tips.

I run Ubuntu 9.04 as Server.

Maybe a (not outdated) good tutorial would be great :)

thanks guys

2 Answers 2

2

This article from the Rails wiki should contain the information you are looking for.

I suggest you to install the pg GEM:

gem install pg

Also, Slicehost published a really interesting collection of article about using and configuring PostgreSQL on Ubuntu: http://articles.slicehost.com/postgresql

Sign up to request clarification or add additional context in comments.

Comments

1

gem to install is ruby-pg

Tutorial for 8.04

Tutorial for 9.04 LAMP with Postgres

1 Comment

Installation is simple - if you only use the local machine for your rails apps you won;t need to change access config.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.