This updates ruby-postgres to the latest version: 0.7.1.2006.04.06. This offers greatly improved performance and compatibility. The Makefile has been revamped to use RubyGems instead of a plain tarball. The RubyGem packaging is the preferred method of distribution, and simplifies the Makefile. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->clsung clsung@ wants to have ruby- PRs
State Changed From-To: open->repocopy New version comes with rubygem, please repocopy databases/ruby-postgres to databases/rubygem-postgres.
Responsible Changed From-To: clsung->portmgr New version comes with rubygem, please repocopy databases/ruby-postgres to databases/rubygem-postgres.
State Changed From-To: repocopy->open Repocopy complete.
Responsible Changed From-To: portmgr->clsung Repocopy complete.
clsung 2007-08-01 00:45:57 UTC FreeBSD ports repository Modified files: databases/rubygem-postgres Makefile distinfo pkg-descr pkg-plist Log: - Force commit to note repo copy from databases/ruby-postgres PR: ports/114048 Revision Changes Path 1.32 +0 -0 ports/databases/rubygem-postgres/Makefile 1.12 +0 -0 ports/databases/rubygem-postgres/distinfo 1.10 +0 -0 ports/databases/rubygem-postgres/pkg-descr 1.7 +0 -0 ports/databases/rubygem-postgres/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
clsung 2007-08-03 07:18:22 UTC FreeBSD ports repository Modified files: databases/rubygem-postgres Makefile distinfo pkg-plist Log: - This updates ruby-postgres to the latest version: 0.7.1.2006.04.06. This offers greatly improved performance and compatibility. The Makefile has been revamped to use RubyGems instead of a plain tarball. The RubyGem packaging is the preferred method of distribution, and simplifies the Makefile. PR: ports/114048 Submitted by: Roderick van Domburg <r dot s dot a dot vandomburg_AT_nedforce dot nl> Revision Changes Path 1.33 +12 -30 ports/databases/rubygem-postgres/Makefile 1.13 +3 -3 ports/databases/rubygem-postgres/distinfo 1.8 +183 -15 ports/databases/rubygem-postgres/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
clsung 2007-08-03 07:21:46 UTC FreeBSD ports repository Modified files: databases Makefile Removed files: databases/ruby-postgres Makefile distinfo pkg-descr pkg-plist Log: - databases/ruby-postgres -> databases/rubygem-postgres PR: ports/114048 Submitted by: Roderick van Domburg <r dot s dot a dot vandomburg_AT_nedforce dot nl> Revision Changes Path 1.629 +1 -1 ports/databases/Makefile 1.32 +0 -43 ports/databases/ruby-postgres/Makefile (dead) 1.12 +0 -3 ports/databases/ruby-postgres/distinfo (dead) 1.10 +0 -7 ports/databases/ruby-postgres/pkg-descr (dead) 1.7 +0 -15 ports/databases/ruby-postgres/pkg-plist (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
clsung 2007-08-03 07:23:13 UTC FreeBSD ports repository Modified files: . modules Log: - databases/ruby-postgres -> databases/rubygem-postgres PR: ports/114048 Submitted by: Roderick van Domburg <r dot s dot a dot vandomburg_AT_nedforce dot nl> Revision Changes Path 1.18471 +1 -1 CVSROOT/modules _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
clsung 2007-08-03 07:24:48 UTC FreeBSD ports repository Modified files: . MOVED Log: - address the move of databases/ruby-postgres to databases/rubygem-postgres PR: ports/114048 Submitted by: Roderick van Domburg <r dot s dot a dot vandomburg_AT_nedforce dot nl> Revision Changes Path 1.1442 +2 -1 ports/MOVED _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thank You.
This changing from ruby-postgres to use the rubygem mechanism seems to have broken ruby-dbi as it now no longer is able to load the ruby postgres module. The code below used to work flawlessly require 'dbi' dbh = DBI.connect("DBI:Pg:dbname:dbhost", "dbuser", "dbpasswd") However since the switch to the rubygem mechanism it now generates this error message: /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:344:in `load_driver': Could not load driver (no such file to load -- postgres) (DBI::InterfaceError) from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:227:in `_get_full_driver' from /usr/local/lib/ruby/site_ruby/1.8/dbi.rb:213:in `connect' from ./DataImport.rb:13 -- Pascal Hofstee <pascal.hofstee@quaerenovum.com> Quaere Novum Enterprises
On Wed, 2007-08-08 at 11:12 +0200, Roderick van Domburg wrote: > Hi Pascal, > > Does the following work for you? > > require 'rubygems' > ..rest of code.. > > That should configure the path to the postgres driver. Alternatively you > can set RUBYOPT to -rubygems and Ruby should load the gems > automatically. > > Let me know what happens. Looks like simply adding the rubygems require entry does the trick ... -- Pascal Hofstee <pascal.hofstee@quaerenovum.com> Quaere Novum Enterprises
dinoex 2008-04-07 12:06:01 UTC FreeBSD ports repository Modified files: databases/ruby-postgres Makefile Log: - a fix for ruby-dbd_pg is now possible PR: 114048 Revision Changes Path 1.34 +1 -1 ports/databases/ruby-postgres/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"