improve gem command handling in gemset operations