jruby-maven-plugins
jruby-maven-plugins copied to clipboard
How can I pass -Xcext.enabled=true
I need to add this parameter in order to "support" native C extensions. I understand that JRuby doesn't really play well with C extensions, but there are hard dependencies there that I can not work around even if the project doesn't even use them.
<supportNative>true</supportNative> does nothing it seems.
<jrubySwitches>-Xcext.enabled=true</jrubySwitches> doesn't work either. It gives me the error: [INFO] jruby: invalid extended option cext.enabled=true
<jrubyJvmArgs>-Djruby.cext.enabled=true</jrubyJvmArgs> doesn't work either.
I could keep going but I'm sure we all get the idea ;) It doesn't seem possible with:
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>1.0.0-beta</version>
To pass this parameter to jruby within maven.