Precise version checking of installed by gem