Set dependency versions for gems