Error installing brcrypt-ruby when updating to Rails 3.1 on windows

I experienced the following when installing the Rails 3.1 gem updates on
Windows:

Installing gem bcrypt-ruby-3.0.0-java

Building native extensions. This could take a while…
ERROR: Error installing bcrypt-ruby:
ERROR: Failed to build gem native extension.

    D:/jruby/bin/jruby.exe extconf.rb

make
‘make’ is not recognized as an internal or external command, operable
program or batch file.

I just installed it fine on Jruby 1.6.3 on linux but it also failed on
windows.

The fact that it is talking about make files makes me wonder if it needs
the ruby devkit installed?

On Thu, Sep 1, 2011 at 7:18 AM, Jeffrey J. [email protected]
wrote:

I just installed it fine on Jruby 1.6.3 on linux but it also failed on
windows.

The fact that it is talking about make files makes me wonder if it needs the
ruby devkit installed?

not with java: on top of this, the jar containing the java extension
is already compiled…

ERROR: Failed to build gem native extension.

D:/jruby/bin/jruby.exe extconf.rb

make
‘make’ is not recognized as an internal or external command, operable
program or batch file.

I see the same issue when installing v3.0.0 of bcrypt: I guess that
either the gemspec is corrupted, or it’s not java specific. v2.1.4
works fine: maybe comparing both gems’ content could help.

I suggest to contact the authors of this gem directly: this is not a
jruby specific issue, I believe.


Christian

I noticed that the issue has been previously reported on github:

On Thu, Sep 1, 2011 at 1:47 AM, Christian MICHON
<[email protected]