
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
-
Dan Kubb (dkubb) June 1st, 2009 @ 02:07 PM
- Assigned user set to Alex Coles
-
Alex Coles June 12th, 2009 @ 07:19 AM
The Java extension is also named do_sqlite3_ext. JRuby should pick a JAR file of the same name.
Did you compile the JRuby extension first?
Are you running from source? Or is this occurring with the distributed gem? -
Maciej Piechotka June 12th, 2009 @ 09:52 AM
Ok. I see the problem. However I tried to use already installed do_sqlite3 by rubygem.
-
-
-
Maciej Piechotka July 4th, 2009 @ 08:13 AM
Sorry. I just finished yesterday my exams and I had no time to work with ruby. Currently I have to fix a few things in local network. I'll give feedback next week.
-
Alex Coles July 6th, 2009 @ 08:58 AM
Ok. No problem.
Maciej Piechotka updated this ticket at July 4th, 2009 @ 08:13 AM
Sorry. I just finished yesterday my exams and I had no time to work
with ruby. Currently I have to fix a few things in local network.
I'll give feedback next week.
Assigned: Alex Coles State: unconfirmed View this ticket online: http://datamapper.lighthouseapp.com/projects/20609/tickets/874-do_s... Stop being notified of this ticket's changes: http://datamapper.lighthouseapp.com/projects/20609/tickets/874-do_s... Update your Profile: http://datamapper.lighthouseapp.com/profile Support: support@lighthouseapp.com or http://help.lighthouseapp.com
-
Alex Coles July 19th, 2009 @ 11:03 AM
- State changed from unconfirmed to hold
-
Dan Kubb (dkubb) July 19th, 2009 @ 04:04 PM
@Alex: Generally I give about 2 weeks for a reply after I ask for extra information, and then if there's no reply I close it with a comment saying I'll re-open it if the submitter confirms it is still a problem.
-
Maciej Piechotka July 19th, 2009 @ 04:53 PM
Please do so.
Not only it is likely misinstallation I just recently get flood of other answered bugs - and I don't have much free time. -
Alex Coles July 19th, 2009 @ 04:58 PM
- State changed from hold to not-applicable
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
-
874 do_sqlite3 does not work with JRuby (1.2.0/1.3RC) Assigned: Alex Coles State: unconfirmed View this ticket ...
-
874 do_sqlite3 does not work with JRuby (1.2.0/1.3RC) Assigned: Alex Coles State: unconfirmed View this ticket ...