Bundler: You must use Bundler 2 or greater with this lockfile

前端 未结 18 2417
小蘑菇
小蘑菇 2020-12-04 14:13

I\'m working with heroku and every time I try to push my app this message shows out:

remote: Compressing source files... done.
remote: Building source:
remo         


        
18条回答
  •  情话喂你
    2020-12-04 14:45

    I had same issue on Local Machine(Development) as-

    You must use Bundler 2 or greater with this lockfile.
    The issue was with gemfile.lock because my local bundle version and project bundle version was not matching! Here is solution-

    1. I deleted gemfile.lock
    2. Run the command - bundle install
      That solved my problem, it is smooth! Hope will work for others!

提交回复
热议问题