May 2009
2 posts
Run autotest on only one file
Doing true test driven development can be tough when you write a failing test, write the code to make it pass, and then sit around for a couple minutes while the rest of your tests run. After seeing this post by David Chelimsky, and looking around in the autotest code for find_directories, I can across extra_files and got an idea:
Autotest.add_hook :initialize do |at| unless ARGV.empty? if...
Accessing Github through SSH
I use capistrano to deploy ryanangilly.com to my web hosting provider. A few days ago, the deploy started to hang unexpectedly. I wasn’t sure what was going on until one of their support guys told me that they had recently closed a bunch of ports, and sure enough one of them was the port that Github’s servers listen on. They did offer to open the port for me, but in the meantime I...