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

前端 未结 18 2347
小蘑菇
小蘑菇 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:41

    The Ruby 2.6.0 is not the case of this problem. The default version of Bundler incorrectly invoked when using bin stubs. For more details please refer the following link

    Solution: Bundler 2 is available on the system and is the latest version, So it should be invoked instead of the default bundler version.

    Update Rubygems

    gem update --system
    

    Update bundler

    gem install bundler
    

    Update Gemfile.lock in your project

    bundler update --bundler
    

提交回复
热议问题