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

Can't install twilio-ruby gem on JRUBY #374

Closed
zoras opened this issue Nov 14, 2017 · 3 comments
Closed

Can't install twilio-ruby gem on JRUBY #374

zoras opened this issue Nov 14, 2017 · 3 comments

Comments

@zoras
Copy link

zoras commented Nov 14, 2017

As twilio-ruby > '5.0.0' depends on libxml-ruby C extension, it can't be installed on Jruby platform.

Any alternative to C code or java platform specific gem will be really appreciated.

Reference: https://www.ruby-forum.com/topic/156622

@philnash
Copy link
Contributor

I've made PR #375 to change from using libxml-ruby to nokogiri and hopefully fix this for you.

It might take a while to get this in, as it actually requires a change in a generated file, but this proof should work. You could even try installing the gem from my branch if you need experimental support right now.

@philnash
Copy link
Contributor

Hey @zoras, twilio-ruby >= 5.5.0 now uses Nokogiri in place of libxml_ruby so you should be able to use it successfully on JRuby now.

I'm going to close this issue, but do please open it again if it still isn't working.

@zoras
Copy link
Author

zoras commented Nov 21, 2017

Awesome! Thanks @philnash 😄

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