Autotest Won't Work - Just Be Ghetto!

So I somehow managed to botch my Autotest installation I described in this tutorial. After spending many hours trying to get it back up and running again, I've decided it's just not worth it. Here's a ghetto bash script for semi-auto testing. You just have to press any key and it'll run the test.
# Our ghetto auto-testish thing. User presses any key to test,
# Ctrl-C to get out

function hold(){
    read -n 1 -s    

function do_test(){
    printf "\nTesting..."
    bundle exec rspec spec/
    printf "\nPress any key to test... \n"

September 25, 2011
About the Author:

Joseph is the lead developer of Vert Studios Follow Joseph on Twitter: @Joe_Query
Subscribe to the blog: RSS
Visit Joseph's site: