Ruby plugin + JRuby: How to set up project

Hey,

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: http://imgur.com/a/s29GE

Code example with error:
http://i.stack.imgur.com/1HW4g.jpg

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.