travis-ci/travis-ci — Issue #301: sqlite3 adapter for JRuby in 1.9 mode
Author: EppO
Created: 2011-11-03 04:44:34+00:00
State: open

Ji,

when using JRuby in 1.9 mode with:

rvm:
- 1.9.2
- 1.9.3
- ruby-head
- rbx-19mode
- jruby

env:
- JRUBY_OPTS="--1.9"

my specs fail only with JRuby and rbx. JRuby error is:

RuntimeError: Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (load error: sqlite3/sqlite3_native -- java.lang.UnsatisfiedLinkError: failed to load shim library, error: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/vagrant/.rvm/rubies/jruby-1.6.5/lib/native/i386-Linux/libjruby-cext.so))
establish_connection at /home/vagrant/.rvm/gems/jruby-1.6.5/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:71

For Rubinius, it's less clear but I guess it's a rbx bug in 1.9 mode...

An exception occurred running at_exit handlers
method `to_time' not defined in DateTime (NameError)

Backtrace:
{ } in Module(Class)#remove_method at kernel/common/module.rb:156
Array#each at kernel/bootstrap/array.rb:66
Module(Class)#remove_method at kernel/common/module.rb:152