# Postgres + Rail 3.0

**URL:** <https://www.ruby-forum.com/t/postgres-rail-3-0/188886>\
**Category:** Rails\
**Created:** [May 19, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886 "2010-05-19T22:26:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Post date:** [May 19, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886/1 "2010-05-19T22:26:59Z")

</div>

Hi guys,

I am really new to these things like ROR and Postgres.

When I was installing ROR 3.0 it says

Successfully installed rails 3.0.0 beta  
1 gem installed  
Installing ri document for rails 3.0.0 beta  
File not Found: lib

This is the one which I really dont understand and dont know what to do?  
Help me out guys plz…

And I want to configure the database with postgresql and I want to know  
how it works…

---

<div class="post-metadata">

**Author:** ![sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Post date:** [May 19, 2010, 10:43pm UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886/2 "2010-05-19T22:43:31Z")

</div>

On Wed, May 19, 2010 at 1:26 PM, Siva K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> This is the one which I really dont understand and dont know what to do?  
> Help me out guys plz…
> 
> And I want to configure the database with postgresql and I want to know  
> how it works…

Siva, if you’re new to Rails 3.0, I would recommend getting things  
working  
with Sqlite3. Then move to PostgreSQL at a later date. In short, focus  
on  
learning the basics of RoR. BTW, I tend to use Sqlite3 for development  
and  
PostgreSQL or MySQL for stagging and production.

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Post date:** [May 20, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886/3 "2010-05-20T17:48:02Z")

</div>

Siva K. wrote:

> Hi guys,
> 
> I am really new to these things like ROR and Postgres.
> 
> When I was installing ROR 3.0 it says
> 
> Successfully installed rails 3.0.0 beta  
> 1 gem installed  
> Installing ri document for rails 3.0.0 beta  
> File not Found: lib
> 
> This is the one which I really dont understand and dont know what to do?  
> Help me out guys plz…
> 
> And I want to configure the database with postgresql and I want to know  
> how it works…

For PostgreSQL try this  
to install the following gem to use postgresql: install gem postgres-pr

Go through the link and scroll down for Installing PosgreSQL  
[http://www.robbyonrails.com/articles/2008/01/22/installing-ruby-on-rails-and-postgresql-on-os-x-third-edition](http://www.robbyonrails.com/articles/2008/01/22/installing-ruby-on-rails-and-postgresql-on-os-x-third-edition)

Hope this helps you.

---

<div class="post-metadata">

**Author:** ![sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Post date:** [May 19, 2010, 11:07pm UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886/4 "2010-05-19T23:07:28Z")

</div>

Conrad T. wrote:

> On Wed, May 19, 2010 at 1:26 PM, Siva K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Good luck,
> 
> -Conrad

Thanku Conard,

I appreciate it. I want to know about the file not found thing while  
installing Rails 3.0 beta.

Can you help me out in this as well??

Good Luck  
Siva

---

<div class="post-metadata">

**Author:** ![sivakumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Post date:** [May 21, 2010, 2:22am UTC](https://www.ruby-forum.com/t/postgres-rail-3-0/188886/5 "2010-05-21T02:22:34Z")

</div>

Uh, I know now about the postgresql-pr gem. Part of the confusion is  
that there are several PostgreSQL gems laying around. The one I used  
is “pg”.

You will also need to drop it into Gemfiles.

Ho-Sheng H.

> **[lambda { }](http://ruby-lambda.blogspot.com)**
>
> lambda { put(self).in(:pipe).and.call() }
