Look-up in external libraries
Download the required libraries or frameworks.
Configure the downloads as libraries at the RubyMine level.
Specify links to external documentation.
Position the cursor at the symbol in question and and press Shift+F1 or choose on the main menu.