Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.9 does not work in Rubinius 2.2.5 #122

Closed
charleshansen opened this issue Feb 26, 2014 · 2 comments
Closed

1.3.9 does not work in Rubinius 2.2.5 #122

charleshansen opened this issue Feb 26, 2014 · 2 comments

Comments

@charleshansen
Copy link

I just ran into this error with the latest version of sqlite3 using Rubinius 2.2.5

To reproduce:

rails new foo
cd foo
bundle exec rake -T

I get the stack trace

rake aborted!
Could not open library /Users/pivotal/.rvm/gems/rbx-2.2.5@foo/gems/sqlite3-1.3.9/lib/sqlite3/sqlite3_native.bundle - dlopen(/Users/pivotal/.rvm/gems/rbx-2.2.5@foo/gems/sqlite3-1.3.9/lib/sqlite3/sqlite3_native.bundle, 10): Symbol not found: _RBIGNUM_DIGITS
kernel/common/native_method.rb:26:in `load_extension'
.....

If I change the gemfile in my project to point sqlite3 1.3.8, everything works fine. Also works fine in all the other rubies we test.

@teeparham
Copy link

I am seeing the same thing: https://travis-ci.org/teeparham/paperclip-meta/jobs/19744956

@brixen
Copy link

brixen commented Mar 3, 2014

This is a consequence of sqlite3 switching to an MRI 2.1 only C-API function or relying on an internal MRI data structure that depends on the specific details of MRI C structures. Unfortunately, there is no work-around except using 1.3.8 until Rubinius 2.2.6 is released.

I have a PR ready that adds Rubinius on Travis so hopefully issues like this won't be ignored in the future. I'll send it when 2.2.6 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants