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 220.127.116.11 (via jenv)
JRuby 18.104.22.168 (via rvm)
What is the current state of JRuby support in RubyMine or Intellij?