From: Brian Candler Date: 2009-01-26T23:28:05+09:00 Subject: Re: Need help for Ruby DBI and PostgreSQl Manisha Tripathy wrote: > ruby setup.rb config > ruby setup.rb setup > ruby setup.rb install > > But the only problem during installation was that I couldnt do config > with option > i.e. > > ruby setup.rb config --with=dbi,dbd_pg > > It showed error while using that option. You need to show the exact error message you got. As it is, we can only guess - maybe you forgot to install the libpq-dev package first? If you'd shown the error message, we could tell you for sure. Similarly, if require 'postgres' dbh = DBI.connect('DBI:pg:databasename') is giving an error, then you need to show the exact error. "I cannot connect" isn't helpful. -- Posted via http://www.ruby-forum.com/.