sqlite3-ruby masked as able to work with ruby19 Reproducible: Always Steps to Reproduce: 1. emerge ruby-1.9 ( http://bugs.gentoo.org/show_bug.cgi?id=173817 ) 2. emerge sqlite3-ruby 3. require 'sqlite' Actual Results: exeptiptions in pragmas.rb files (because in ruby19 syntax chenged) Expected Results: all should work. I fixed it locally via changing ebuild, and patch (attached file) --- /usr/portage/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild 2007-05-24 17:05:42.000000000 +0300 +++ /home/data/gentoo/overlay/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild 2008-01-26 14:46:26.000000000 +0200 @@ -18,6 +18,8 @@ DEPEND="=dev-db/sqlite-3* swig? ( dev-lang/swig )" +PATCHES="${FILESDIR}/sqlite3-ruby-1.9.patch" + pkg_setup() { if use swig && ! built_with_use dev-lang/swig ruby ; then eerror "You must compile swig with ruby bindings. Please add"
Created attachment 141832 [details, diff] patch ruby19 compability http://svn.jamisbuck.org/sqlite3-ruby/trunk Patch generated via : svn diff -r45:46 svn log -r46 ------------------------------------------------------------------------ r46 | jamis | 2008-01-17 21:36:14 +0200 (Thu, 17 Jan 2008) | 2 lines ruby 1.9 compatibility tweaks (thanks Roman Le Negrate <roman2k@free.fr>) ------------------------------------------------------------------------
sqlite3-ruby is currently at version 1.2.4, which is already 1.9 compatible. You'll find it in the Ruby overlay.
Version 1.2.4 is now in CVS. Thanks Maksim, Alex.