Heroku-18: Git push fails. Showing different versions of Ruby on push

前端 未结 3 1386
南方客
南方客 2021-01-25 07:10

My apologies if this is a dumb question. I am not familiar with anything about Ruby. Also tried several solutions from SO. Managed to upgrade Ruby, resolve dependencies. Now jus

3条回答
  •  日久生厌
    2021-01-25 07:40

    It seems to me that you have locked the Ruby version. That's why it keeps trying to install Ruby 2.2.2. By default it should just pick a stable Ruby version.

    Look into your Gemfile for a ruby entry. There it should say 2.2.2. Either remove it or lock the version to 2.5.7.

提交回复
热议问题