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

Any plans to make picky work with newer versions of Ruby? #147

Open
tehandyb opened this issue Jun 9, 2017 · 2 comments
Open

Any plans to make picky work with newer versions of Ruby? #147

tehandyb opened this issue Jun 9, 2017 · 2 comments

Comments

@tehandyb
Copy link

tehandyb commented Jun 9, 2017

I have an app that uses ruby 2.0(it's actually jruby, running with compatibility to Ruby 2.0), but I see that picky works with only 1.9. And I am getting errors trying to install it. Are there any plans to update Picky to work with 2.0 and up?

@floere
Copy link
Owner

floere commented Jun 23, 2017

Hi @tehandyb! :) Thanks for the issue! It's already running on 2.3.3 on https://cocoapods.org, so I assume the issues may lie with JRuby. What are the errors?

@tehandyb
Copy link
Author

Hey thanks for the response! I'm using JRuby 1.7.26 with RVM and the error message when I do gem install picky is:

Building native extensions.  This could take a while...
ERROR:  Error installing picky:
	ERROR: Failed to build gem native extension.
    
    /Users/andrewblowe/.rvm/rubies/jruby-1.7.26/bin/jruby -r ./siteconf20170623-72139-14zpzji.rb extconf.rb

Compiling on Ruby 1.9.3 with CC set to cc.
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.

   (root) at /Users/andrewblowe/.rvm/rubies/jruby-1.7.26/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:1040
   (root) at /Users/andrewblowe/.rvm/rubies/jruby-1.7.26/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
   (root) at extconf.rb:13

extconf failed, uncaught signal 1

Gem files will remain installed in /Users/andrewblowe/.rvm/gems/jruby-1.7.26/gems/picky-4.31.3 for inspection.
Results logged to /Users/andrewblowe/.rvm/gems/jruby-1.7.26/extensions/universal-java-1.8/1.9/picky-4.31.3/gem_make.out

I also tried to set C extension support in my Jruby config to no avail.

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

2 participants