migrate to rubygem for rmate