#874 ✓not-applicable
Maciej Piechotka

do_sqlite3 does not work with JRuby (1.2.0/1.3RC)

Reported by Maciej Piechotka | June 1st, 2009 @ 12:34 PM

do_sqlite3 does not work with jruby. If I try to run it I receive:

LoadError: JRuby does not support .so libraries from filesystem

The problem is in code:

if RUBY_PLATFORM =~ /java/
  require 'do_jdbc'
  require 'java'
  gem 'jdbc-sqlite3'
  require 'jdbc/sqlite3' # the JDBC driver, packaged as a gem
end


require 'do_sqlite3_ext'

is a native extention which does not work with JRuby. Moving this line to else does not make it working (although the file is loaded without problems).

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Referenced by

Pages