Ruby Tips and Tricks
This page outlines the various Ruby-related techniques.
- Place the caret somewhere inside a comment in Ruby class.
- Do one of the following:
Highlight exit points
If you place the caret at an exit point of a function, the other exit points are also highlighted:
Running the Bundler
On the UNIX-like computers, RubyMine suggests to run the Bundler with the
sudo privileges, if SDK so requires. For example, Chef DK by default, requires
installing gems under
Also, when running commands, RubyMine automatically understands from the command output that running with
sudo is required, and suggests to re-run this command with