Set gem versions.