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