Meditations on programming, startups, and technology
New Relic

How to run Ruby from Komodo Edit 4

ActiveState has released Komodo Edit 4 for free. While basic, it offers a few interesting features including code AutoCompletion. Make sure to give it a try here.

Once installed, you may find yourself puzzled by the lack of an F5 or one-click Run option. I’ve put together a small screencast that shows how to associate the F5 key with the execution of the current open ruby file (click the image below to open the video).

I know it’s not Komodo IDE (the commercial bigger brother of the Edit version), but I would have expected the program to recall the appropriate interpreter based on the file extension just like SciTE does. Feel free to comment and let me know if you find better ways to handle these tasks in Komodo Edit.

No related posts.


If you enjoyed this post, then make sure you subscribe to my Newsletter and/or Feed.

receive my posts by email

8 Responses to “How to run Ruby from Komodo Edit 4”

  1. kahfei says:

    Hi there,
    I have been exploring a few Ruby IDEs lately.
    Think Komodo edit is quite nice, but I am not sure if this is just me, I found that the auto code completion features didn’t work consistently. Most of the time it works, but sometime, it just went missing. Do you have this problem also with Komodo Edit?

    Nice tips there for adding the one-click Ruby option. A short yet very neat screencast, a picture is worth a thousand words obviously.

  2. Thanks Kahfei, unfortunately I’ve noticed a few glitches as well. I’m experimenting with a few editors, but I find myself using SciTE for Ruby and RadRails for Rails, most of the time. From the screenshots I’ve seen however, Netbeans support for Ruby looks very promising as well.

  3. kahfei says:

    I read about Netbeans Ruby IDE from Tor Norbye and Straw Dogs blogs too, it definitely look good from screenshot. Not sure when we can get a hand on it?

  4. Geoff says:

    I’ve been playing with it today, but for Ruby development in Windows I’m going to stick with e (http://www.e-texteditor.com). I like being able to write commands in Ruby, and tapping into the TextMate community is just cool. Thanks for the tips, though!

  5. Raju says:

    I just downloaded Komodo Edit, and was surprised to see the lack of the F5 key binding. I came across this article via the all knowing Google, and wanted to thank you for the tip. This really helps!!!

  6. Josh says:

    I usually use RDE, because F5 automatically saves and run the script you’re developing.

    The way I did the same in Komodo Edit is to implement your shortcut first, and then Record a macro with Save + Run, and assign it to F6.

    It’s a shame that these bindings don’t come preconfigured within Komodo Edit.

    Besides, when editing some of the multi-files project, the contents of the leftmost sidebar sometimes clears up.

    I liked the auto-complete and the info about parameters when writing though.

  7. Hi Josh,

    I totally agree with you and incidentally I’ve created the same macro as you did. I’m now trying out RDE.

  8. Josh says:

    Like minds…like minds… :)

    But these days, I keep thinking about integrating Ruby within SharpDevelop.

Copyright © 2005-2012 Antonio Cangiano. All rights reserved.