Externalize ruby lib in gitlab