Install drivers on windows

2 views
Skip to first unread message

jonas....@gmail.com

unread,
Nov 11, 2007, 6:47:20 AM11/11/07
to DataMapper
Hello

I've installed datamapper and are trying to use it in a merb
application.
I'm trying to run "rake dm:install:postgresql" from my merb apps dir,
but I get the message below.

C:\projects\user>rake dm:install:postgresql
(in C:/projects/user)
You must install the DataObjects::PostgreSQL driver.
rake dm:install:postgresql

I guess that the driver isn't built, right?
The binary dist of postgresql doesnt include pq.lib and I can't figure
out how do compile postgresql. I get some errors when trying to run
"nmake win32.mak" (I got visual studio 8)

I switched to sqlite instead (and will use it in dev until a
postgresql driver is available with datamapper). I've managed to run
extconf.rb and have created a Makefile.

What should I do next?

//Jonas

Jonas Gauffin

unread,
Nov 11, 2007, 7:05:48 AM11/11/07
to DataMapper
Ok. I've successfully created a makefile for postgresql too (with extconf.rb).
How do I use the makefile?
Reply all
Reply to author
Forward
0 new messages