Set correct versions for gems in Gemfile.