# How to select postgres for usage instead postgres-pr?

**URL:** <https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674>\
**Category:** Rails\
**Created:** [March 5, 2007, 3:12am UTC](https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674 "2007-03-05T03:12:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/57b2e6/32.png) [@akm](https://www.ruby-forum.com/u/akm)\
**Post date:** [March 5, 2007, 3:12am UTC](https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674/1 "2007-03-05T03:12:22Z")

</div>

Hi,  
I am using pgRails which came pre-installed with postgres-pr and I now  
wish  
to use the native driver called ‘postgres’. I have done the following:

‘gem install postgres’

I now have both postgres-0.7.1 and postgres-pr-0.4.0 sitting in  
C:\pgRails\lib\ruby\gems\1.8\gems

What do I need to alter in my database.yml/postgresql\_adapter.rb  
documents  
so that I can access the postgres driver?

–  
Regards

Andrew

---

<div class="post-metadata">

**Author:** ![akm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/57b2e6/32.png) [@akm](https://www.ruby-forum.com/u/akm)\
**Post date:** [March 5, 2007, 3:22am UTC](https://www.ruby-forum.com/t/how-to-select-postgres-for-usage-instead-postgres-pr/87674/2 "2007-03-05T03:22:23Z")

</div>

Hi,  
further to my additional email the gem build for postgres did not work,  
so I  
downloaded and copied postgres.so into:

C:\pgRails\lib\ruby\site\_ruby\1.8\i386-msvcrt

Again, how do I point rails to using this driver?

–  
Regards

Andrew
