Why won't Heroku accept my Gemfile.lock in Windows?

后端 未结 5 1257
温柔的废话
温柔的废话 2020-12-03 08:12

I have a rails application that I deploy on Heroku. I\'m using several different machines, and I noticed that when I add new dependencies (so that Gemfile.lock

5条回答
  •  难免孤独
    2020-12-03 09:15

    Like matt commented above:

    The problem is that Bundler creates different Gemfile.locks for Windows. The only solution is to create and commit the lock file on a *NIX system.

    I would suggest to create a virtual machine running e.g. Ubuntu – maybe using Virtual Box. You can even get ready-to-use virtual machines – for example here.

提交回复
热议问题