changing tar to gem