# Re: bug in postgres-pr

**URL:** <https://www.ruby-forum.com/t/re-bug-in-postgres-pr/77510>\
**Category:** Ruby\
**Created:** [March 7, 2006, 12:04am UTC](https://www.ruby-forum.com/t/re-bug-in-postgres-pr/77510 "2006-03-07T00:04:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [March 7, 2006, 12:04am UTC](https://www.ruby-forum.com/t/re-bug-in-postgres-pr/77510/1 "2006-03-07T00:04:18Z")

</div>

> install postgres-pr --remote’.  
> But ‘DBI.available\_drivers’ does not show anything of  
> Postgres. It shows only:  
> dbi:ODBC:  
> dbi:Oracle:  
> dbi:Proxy:
> 
> Someone have make it working?  
> Thanks

I suspect that’s a bug in DBI.available\_drivers, since that method was  
written before gems existed.

I’ll take a look at that tonight.

In the meantime, even though it’s not reported as being available, you  
probably have it installed. Try and connect to a database and see what  
happens.

Regards,

Dan

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [March 8, 2006, 12:01am UTC](https://www.ruby-forum.com/t/re-bug-in-postgres-pr/77510/2 "2006-03-08T00:01:09Z")

</div>

Berger, Daniel wrote:

> > install postgres-pr --remote’.  
> > But ‘DBI.available\_drivers’ does not show anything of  
> > Postgres. It shows only:  
> > dbi:ODBC:  
> > dbi:Oracle:  
> > dbi:Proxy:
> > 
> > Someone have make it working?  
> > Thanks
> 
> I suspect that’s a bug in DBI.available\_drivers, since that method was  
> written before gems existed.
> 
> I’ll take a look at that tonight.
> 
> In the meantime, even though it’s not reported as being available, you  
> probably have it installed. Try and connect to a database and see what  
> happens.

I don’t know if this is in reference to the original DBI or Dan’s  
rewrite, but I can confirm that the original DBI software is not able to  
find DBD drivers installed via gems.

Shouldn’t be hard to fix tho.

–  
– Jim W.
