Lock Ruby and gemset