Use Github-Pages gem

If you know you're going to be deploying via Github Pages, just test against that gem.