Ruby plugin + JRuby: How to set up project


currently I have my setting as shown below. Actually everythings fine, I can run the program. But many of the Java methods aren't recognized correctly. There are always errors like "missing arguments" although it's valid (maybe because IntelliJ finds only one definition of a overloaded method?). I think the pictures explain the issue better than words do.

What my settings look like:

Code example with error:

I tried to set the JRuby SDK as my project's SDK but then it doesn't even find all the java methods. Do you have an idea why it doesn't work for me?

Please sign in to leave a comment.