Updated to support new ruby template. fixes #1