ShunjiM
@ShunjiM (Shunji M)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

heroku run rails db:schema:load実行後Your Ruby version is 2.7.0, but your Gemfile specified 2.6.5

解決したいこと

ECサイトをHerokuにデプロイしていく中で、
Heroku上にデータベースを作成したい。

発生している問題・エラー

Running rails db:schema:load on ⬢ samazono... up, run.5659 (Free)
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.2.27). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.27`.
Your Ruby version is 2.7.0, but your Gemfile specified 2.6.5

自分で試したこと

Gemfil Rudy2.7.0変更時↓

Your Gemfile lists the gem listen (>= 3.0.5, < 3.2) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Ruby version is 2.6.5, but your Gemfile specified 2.7.0
0

1Answer

Comments

  1. @ShunjiM

    Questioner

    回答に答えて頂きありがとうございます。
    ツールの存在を知る事が出来て良かったです。
    ありがとうございました。

Your answer might help someone💌