I have been trying to run Padrino on Jruby, but am hitting a issue when running rake tasks involving the database. Searching around, I can't find other instances of this issue. I installed jruby-openssl like it mentions, but that doesn't help. I installed jruby using rvm and am running OSX 10.6.8 with XCode installed. $ ruby -v jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-09-09 26e08ba) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java] $ padrino rake ar:create => Executing Rake ar:create ... JRuby limited openssl loaded. http://jruby.org/openssl gem install jruby-openssl for full support. dyld: lazy symbol binding failed: Symbol not found: _rb_check_safe_obj Referenced from: /Users/bbergstrom/.rvm/gems/jruby-1.6.7.2/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle Expected in: flat namespace dyld: Symbol not found: _rb_check_safe_obj Referenced from: /Users/bbergstrom/.rvm/gems/jruby-1.6.7.2/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle Expected in: flat namespace Trace/BPT trap TIA, Brian
on 2012-09-09 16:24
on 2012-09-09 16:44
I presume this is what you have to use on JRuby for SQLite - gem 'activerecord-jdbcsqlite3-adapter' You seem to be using the native gem. On Sun, Sep 9, 2012 at 7:23 AM, Brian Bergstrom
on 2012-09-09 17:08
Ah! Thanks for the pointer. I re-configured my project using the adapter: https://github.com/jruby/activerecord-jdbc-adapter/ All is well now. Thanks for the quick response. Brian
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.