Forum: JRuby How to link compiler to mvn for JRuby Windows builds?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8cb35a8485aed6dcfa6fdbe0b491152f?d=identicon&s=25 Richard S. (secristr)
on 2014-03-05 19:23
How do I link MinGW's C++ compiler to the build environment for JRuby on

Attempting to install 1.7.11 on Windows an mvn -Pbootstrap fails with:

[WARNING] ERROR:  Error installing
[WARNING]       ERROR: Failed to build gem native extension.

Which is presumably because mvn isn't linked in to the MinGW C++
compiler on Windows.  What is the correct way to set up the development
environment so mvn can use the C++ compiler?

I have a MinGW installed and I can use it to go into directories and
issue make commands successfully, but only from the msys.bat shell of
MinGW and not from mvn.

This topic is locked and can not be replied to.