I was deploying some Rails application on Windows and noticed that there was an issue regarding the PID detection in Java. I fixed it using JNA. The jars may not be required automatically so if you intend to use it and the java_import calls aren't working please do the following:
require 'jna.jar'
require 'jna-platform.jar'
I'm available regarding any questions on the matter.
P.S.: I know some of the commits are a bit light but I was hacking this rapidly and made some mistakes along the way.
I was deploying some Rails application on Windows and noticed that there was an issue regarding the PID detection in Java. I fixed it using JNA. The jars may not be required automatically so if you intend to use it and the
java_import
calls aren't working please do the following:I'm available regarding any questions on the matter.
P.S.: I know some of the commits are a bit light but I was hacking this rapidly and made some mistakes along the way.