From: Bing Tan Date: 2006-06-22T17:48:15+09:00 Subject: Re: How to install Ruby Postgres Gem with a remote server Ok, so I've tried doing the installations but I'm now getting this error when doing my test. It seems like the driver isn't being seen?: /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:499:in `load_driver': is not a class/module (TypeError) from /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:401:in `_get_full_driver' from /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:381:in `connect' from ./test_connect.rb:7 Here is my test code: #!/usr/local/bin/ruby require "dbi" URL = "dbi:pg:dbname:192.168.22.1:port=5432" dbh = DBI.connect(URL,"username","password") Note that the ip address here is on a remote machine in a local loop. thanks, Bing -- Posted via http://www.ruby-forum.com/.