Rebuilding gem as an engine.