ActiveState Community

Newb question

Posted by rgreen on 2009-09-23 21:58

I am brand new to Komodo. I created a new file and wrote a small Ruby script. How do you run the script from the IDE.

PS Using Komodo Edit 5.2

toddw | Thu, 2009-09-24 10:20

The easiest way is to use the "Tools->Run command" then enter:
%(ruby) %F
and press the Run button.

This run command uses Komodo-specific shortcut codes:
%(ruby) : The default ruby interpreter set in Komodo's preferences.
%F : The current file name

You can see additional shortcuts using the ">" arrow in the run command dialog.

Cheers,
Todd