adhearsion/ruby_ami — pull request #2 by zehrizzatti (2012-09-03 21:10:16+00:00)
Title: use guard-shell to keep an eye on the ragel file

I'm a big fan of guard, and running guard would throw errors if one didn't run ragel first. This monitor the file and generates lexer.rb on first run too.
There's actually a gem called guard-ragel that I tried first, but it hasn't been updated in over a year, and there was no support for running on start, kind of losing the whole purpose of the pull request, so I went with guard-shell and the rake task.
Let me know what you think.