Could not find rake with bundle exec

前端 未结 4 1646
灰色年华
灰色年华 2021-01-02 14:21

When I try execute \'bundle exec rake anything\', I get error:

Could not find rake-10.1.0 in any of the sources.
Run `bundle install` to install mis         


        
4条回答
  •  日久生厌
    2021-01-02 15:10

    I have the same problem and my solution was: Delete my gemfile.lock

    rm Gemfile.lock
    

    donwgrade rake in my gemfile

    gem 'rake', '10.0.2'
    

    finally

    bundle install
    

提交回复
热议问题