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

How to get bitcoin-ruby to work with JRuby? #192

Open
isho opened this issue Mar 7, 2016 · 1 comment
Open

How to get bitcoin-ruby to work with JRuby? #192

isho opened this issue Mar 7, 2016 · 1 comment

Comments

@isho
Copy link

isho commented Mar 7, 2016

Any ideas about what is required to get the bitcoin-ruby gem to work in JRuby?

Does something like this: https://github.com/jruby/jruby-openssl work?

I ported my app over and this is the error I'm getting:

LoadError: RMD160 not supported without BouncyCastle
                                 require at org/jruby/RubyKernel.java:1071
                                 require at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247
                         load_dependency at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232
                                 require at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247
                                  (root) at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/bitcoin-ruby-0.0.7/lib/bitcoin.rb:5
                                 require at org/jruby/RubyKernel.java:1071
                                 require at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247
                         load_dependency at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232
                                 require at /Users/isho/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247
                                  (root) at /Users/isho/_code/plutus-server/config/initializers/bitcoin_network.rb:1
@mhanne
Copy link
Contributor

mhanne commented Mar 8, 2016

This is as far as I got with it:
jruby/jruby#1261

Didn't know about jruby-openssl, might be worth a try!

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