convert the plugin to gem