Closed erhard closed 9 years ago
Seems like this is an issue either with Bundler or your local setup, not bcrypt-ruby, so going to close this issue.
Have you tried forcing Bundler to use JRuby in your Gemfile? Like:
gem "bcrypt", :platforms => :jruby
If that works, it seems like Bundler is having issues identifying that you're already currently using JRuby (that specification shouldn't be necessary if you're on JRuby currently).
You can also try adding a ruby
directive to the top of your Gemfile so it will fail and tell you what version it thinks you're running:
ruby '1.9.3', :engine => 'jruby', :engine_version => '1.7.18'
If that doesn't help, I recommend opening up an issue with Bundler (or if you think it might be related to your local setup particularly, trying somewhere like StackOverflow).
I use jruby 1.7.18 on a linux maschine in conjunction with obenjdk . To switch the rubies I use uru. I switched to jruby and installed with bundler so the mri version of bcrypt was installed. When I use gem install bcrypt (I deleted all bryptfiles from the gemDir) then the javaversion was install. So I do not know what is the decisioncriterion of building mri or java version. Perhaps bundler does not work well .
Here my output