convert plugin to gem