Kurt StephensNerd Up! | ||
|
Kurt on Thu, 2008-05-22 13:56.
I did this little hackage during a boring PGcon 2008 talk… This patch allows the postgres gem 0.7.9.2008.01.28 to be compiled under Ruby 1.9 against PostgreSQL 8.3.0 client libraries. It appears to work against a PostgreSQL 8.1 server, but I have not run any detailed testing, yet. --- ext/extconf.rb.orig 2008-05-22 09:47:06.000000000 -0500 +++ ext/extconf.rb 2008-05-22 09:52:28.000000000 -0500 @@ -1,6 +1,9 @@ +# Ruby 1.9 +PLATFORM = RUBY_PLATFORM unless defined? PLATFORM + # windows compatibility, need different library name if(PLATFORM =~ /mingw|mswin/) then $libname = '/ms/libpq' else Enjoy! Reply |
||
Recent comments
2 weeks 6 days ago
7 weeks 1 day ago
17 weeks 1 day ago
18 weeks 5 days ago
21 weeks 1 day ago
21 weeks 1 day ago
24 weeks 3 days ago
24 weeks 3 days ago
26 weeks 2 days ago
26 weeks 5 days ago