Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

do_postgres on Windows

Alex Coles edited this page Apr 10, 2011 · 1 revision

After installing the do_postgres 0.9.12 gem on Windows, I got an error like "Cannot find module" and the path to the file do_postgres_ext.so in the gem directory. This problem was caused by me not having installed PostgreSQL from their site http://www.postgresql.org/ After installing this I was left with an error similar to


182: The operating system cannot execute the file %1

This error is due to an incompatibility of the used OpenSSL version. After downloading and installing the VC++ 2008 distributable and OpenSSL from http://www.slproweb.com/products/Win32OpenSSL.html I copied the files libeay32.dll and ssleay32.dll over to \Ruby\bin (first renaming the two existing files). Et voilà, do_postgres works!

Clone this wiki locally