Getting a bunch of warnings and limited code completion support when trying to write basic JRuby in RubyMine. The code runs correctly from the command line and from inside RubyMine.
directory = File.new("/users/david")
files = directory.listFiles()
for file in files
line 2: can't find java
line 6: cannot find listFiles for type File
line 9: cannot find getName
Java 188.8.131.52 (via jenv)
JRuby 184.108.40.206 (via rvm)
What is the current state of JRuby support in RubyMine or Intellij?