Features

Execute selected code in console

IRB console in RubyMine is a quick way to execute Ruby code.

Here is a quick hint on how you can quickly execute some code from the editor.

  1. Tools | Start the IRB console
  2. Select a code
  3. Tools | Load selected text/file in IRB console (⌥⇧L/Alt+Shift+L)

As you may have guessed from the menu item title, you can execute the whole file, without selecting any code. Try it!

Have you tried RubyMine 1.5 EAP already? Ruby 1.9, improved Cucumber support — already there, with Shoulda and new refactorings coming shortly! Try today!

image description

Discover more