Tag-Archive for » postgres «

Thursday, October 23rd, 2008 | Author: Dan Webb

The hell of getting postgresql and ruby to work finally is over.

gem install ruby-postgres

however this doesn’t fully install the driver. Locate a copy of sleay32.dll, libpq.dll, comerr32.dll, libintl-2.dll, krb5_32.dll, libeay32.dll, libiconv-2.dll from here postgresql-8.3.4-1-binaries-no-installer.zip or when I upload the files, from here.

to check whether it’s installed correctly or not.

M:\>irb
irb(main):001:0> require ‘postgres’
=> true

If this is true. Go play.

Category: Ruby  | Tags: , ,  | Leave a Comment