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

JRuby compatibility #2

Open
cvigano opened this issue Feb 3, 2015 · 0 comments
Open

JRuby compatibility #2

cvigano opened this issue Feb 3, 2015 · 0 comments

Comments

@cvigano
Copy link

cvigano commented Feb 3, 2015

The gem fails to build with JRuby as it uses obsolete and deprecated Config:

 $ JRUBY_OPTS=-Xcext.enabled=true jgem install cbor
Building native extensions.  This could take a while...
ERROR:  Error installing cbor:
        ERROR: Failed to build gem native extension.

    /home/cvigano/.rubies/jruby-1.7.16/bin/jruby extconf.rb
/home/cvigano/.rubies/jruby-1.7.16/lib/ruby/shared/mkmf.rb:14: Use RbConfig instead of obsolete and deprecated Config.
mkmf.rb can't find header files for ruby at /home/cvigano/.rubies/jruby-1.7.16/lib/native/include/ruby/ruby.h


Gem files will remain installed in /home/cvigano/.gem/jruby/1.9.3/gems/cbor-0.5.9.0 for inspection.
Results logged to /home/cvigano/.gem/jruby/1.9.3/gems/cbor-0.5.9.0/ext/cbor/gem_make.out

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

1 participant