Is there a way to tell RubyMine to take into account some library so that every time you type some method it defines, RubyMine won't underline it? It's really annoying right now.
If you have installed some Ruby gem and want RubyMine to consider it, define it in the Gemfile
as described in the documentation.