[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: PostgreSQL, Ruby, FX Ruby and Windows XP

Thomas Adam

9/19/2003 12:34:00 PM

--- Gavin Sinclair <gsinclair@soyabean.com.au> wrote: > On Friday,
September 19, 2003, 9:57:32 PM, Szymon wrote:
>
> > Is it possible to connect to PostgreSQL database using Ruby under
> > Windows XP. I need to do simple client for person who can use only
> > Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and
> so
> > on).
>
> Yes, you can download a postgres driver for Ruby from
> raa.ruby-lang.org. Then you can use the DBI (database-independent)
> module (also from RAA) to do nice high-level database programming. Or
> you can use the driver directly if you wish.
>
> I don't see how Windows comes into the picture, but I could be wrong.

If he means connecting to a database running Postgres from within windows
<shudder>, he'll need cygwin installed to provide a means to run it.

-- Thomas Adam
> Gavin
>
>

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.y...

1 Answer

Szymon Drejewicz

9/22/2003 9:04:00 AM

0

> If he means connecting to a database running Postgres from within windows
> <shudder>, he''ll need cygwin installed to provide a means to run it.

So I''d like to know how to compile ruby-postgres under Windows using
Cygwin. Has anyone done it befeore? I''ve installed Ruby, Cygwin and I''ve
downloaded ruby-postgres.tar.gz I don''t know how to compile it under
Windows :-)
Is it possible to connect from Windows to PostgreSQL (working on linux)
without usign DBI?

Szymon Drejewicz