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
Missing dependency on ruby devkit? #2038
Comments
C based extension support in JRuby is experimental. Gems requiring non ruby extensions that support JRuby usually have a Java based extension for use under JRuby. Installing JRuby under the ruby devkit – as you would any other windows ruby – should work to get your C extensions compiling on windows, assuming they support Windows themselves. You best bet is to find a Java or pure ruby version of the gems you're trying to install. |
@pacey which gems are you trying to install on Windows? Can you try this again with more recent versions of JRuby? As @tduehr mentioned, C-based native extension support in JRuby isn't very well supported and sometimes gem developers will not account for the Windows platform when building their |
@rtyler Just try to install the fast-stemmer gem ( I can confirm that installing this gem is an issue for JRuby (using 9.1.7.0) on all platforms (tested on macOS and Windows). The error that JRuby on Windows (64-bit) produces when trying to install a gem with a native C-based extension is kind of weird in that it does not even attempt to use I included the error messages produced by JRuby on Windows when trying to install the
|
JRuby does not support C extensions and we have no plans to do so in the immediate future. If you need The experimental JRuby+Truffle runtime has early support for C exts, so that may be an option in the future. |
Trying to use jruby to install gems on windows. But it throws an error as it cant find the "make" executable. It looks like this resides in the ruby devkit so am I meant to install this and add it to the path? Or should jruby have a dependency on the ruby devkit?
The text was updated successfully, but these errors were encountered: