IntelliJ IDEA Unable to Find Required

When using the Ruby plugin with IntelliJ, what "undefined reference" warnings should I expect / tolerate, and what indicates that I don't have something correctly configured?

For example, I get "Can't find" warnings for "require", "File" and "FileUtils". I suspect this indicates a configuration problem.

I also get warnings for RSpec methods such as β€œdescribe,” β€œbefore,” β€œafter,” and β€œthis.” Should I also configure IntelliJ to β€œfind” these?

+6
source share
1 answer

You need to select the Ruby SDK in Project Strucure ( Ctrl + Alt + Shift + S ).

Unfortunately, it does not allow warnings for rspec-related words.

0
source

All Articles