turn ruby script into gem