Fork me on GitHub

Drew's World

Rants, News, Etc on my Life and Projects

SublimeText2 Guard Plugin Updates

by Andrew De Ponte (@cyphactor)

Just dropping a quick note to all that follow my blog. Last night I made a numeber updates to the Guard Plugin for Sublime Text 2. Most of these were in direct response to feedback that I got from users after making the initial release on my blog, I think, two days ago. The modifications I made are enumarted below:

  • The biggest addition is RVM detection and integration. The plugin is now intelligent enough to detect if you have RVM installed and detect if you are using a Project specific .rvmrc and of course respond by calling Guard appropriately depending on the case.
  • Another relatively small fix is a vertical only auto-scroll. Before, if Guard output went to the right past the width of the pane it was auto-scrolling to the right and then bouncing back to the left at the next line. Now, it always scrolls down the left most column of the output basically making it auto-scroll vertically.
  • Third I added some output preprocessing that strips out the Terminal Color Codes so that the output is a bit cleaner.
  • I also added a lot of descriptive output and error handling and output to let the user better know what is failing so they might be able to debug the situation a bit better.

As always if you have any feedback (feature requests, bug reports, etc.) you can simply create an issue for the project at the projects GitHub Issues Page.

If you are new to the Guard Plugin for Sublime Text 2 you can find installation instructions and document on the GitHub Page.

For instructions on upgrading please checkout the GitHub Page.

SublimeText2 Guard Plugin Debut

by Andrew De Ponte (@cyphactor)

Hi all. I know it has been a while. Please forgive me. My life has been a little crazy. I am still in the process of buliding my house. I also recently became engaged so I am trying to deal with wedding planning. Beyond that I am still trying to get all my development work done for RealPractice, my side company, and all of my open source projects.

Anyways, I needed a break from serious projects and decided it was time for a small fun project that would potentially help me develop the more serious projects more efficiently. A while back I started using a new text editor called Sublime Text 2. Basically it is what TextMate 2 promised (and failed) to be and more.

So, since I have been using this for a while and I have been developing Ruby and Rails apps lately using BDD and TDD I decided it was time to remove the annoyance of having to switch to the terminal after each little development iteration to check Guard’s output to see why my tests are failing. Wow that was a run on sentence. Oh, well it is 2 am and I just finished the plugin so bare with me. Anyways. Therefore, I decided it was the perfect opportunity to build a Sublime Text 2 plugin that integrates Guard into it.

It is available with its documentation on GitHub at Please don’t hesitate to go grab it, use it, extend it, contribute back, report bugs, or throw me new feature requests.