JRuby require 'java' is marked as error in editor

In any ruby file I create using JRuby as my SDK I always get the editor marking require 'java' as an error, but it runs just fine. Do I have something set up wrong?

1 comment
Comment actions Permalink

What about JRuby Facet?

1. For JRuby support you should create Java module with JRuby Facet and JRuby SDK.
2. For pure Ruby you should create Ruby module with JRuby or Ruby SDK. If you have Ruby module with JRuby SDK it means that the plugin uses JRuby SDK for autocompletion and will run your ruby scripts with JRuby interpreter.

0

Please sign in to leave a comment.