[Xapian-discuss] ruby bindings, ruby 1.9.3 and xapian

Olly Betts olly at survex.com
Sat Jul 28 12:53:35 BST 2012


On Thu, Jul 26, 2012 at 08:09:11PM +0200, Rafi wrote:
> I've problem with xapian or sth.
> Ubuntu 8.04, ruby 1.9.3 with rvm, when Im trying to initialize
> database, Im getting this error:

What version of Xapian were you using and how did you install it?

I'm wondering if it was built for a different Ruby version, and the
issue is that it's not actually compatible with your 1.9.3 install.
It clearly works to some extent, but perhaps the parameter type gets
read incorrectly for this case.

> irb >  database = Xapian::WritableDatabase.new('/full_path/db/xapian_db/development', Xapian::DB_CREATE_OR_OPEN)

Looks right to me.

Cheers,
    Olly



More information about the Xapian-discuss mailing list