From: Bing Tan Date: 2006-06-22T18:37:23+09:00 Subject: Re: How to install Ruby Postgres Gem with a remote server Kevin Ilchmann Ję·”rgensen wrote: > On 6/22/06, Bing Tan wrote: >> > google: _get_full_driver postgres > find > http://www.codecomments.com/message664869.html (first hit) > > might help, anyway it cant find the driver > what is the content of your /ruby/DBD/ dir ? Hi Kevin, I already have pg.rb on my DBD dir :(. Looking at my test code though, am I using it correctly? do I have the right syntax particularly my DBI.connect? Here it is again: #!/usr/local/bin/ruby require "dbi" URL = "dbi:pg:dbname:192.168.22.1:port=5432" dbh = DBI.connect(URL,"username","password") Bing -- Posted via http://www.ruby-forum.com/.