heroku push error: “Could not detect rake tasks”

后端 未结 10 1214
离开以前
离开以前 2020-12-04 01:19

I\'m trying to deploy a basic app and it\'s not working. Using

git push heroku master 

I got this error message:

remote:          


        
10条回答
  •  无人及你
    2020-12-04 01:56

    use the rbenv to install ruby 2.6.0

     rbenv install 2.6.0
    

    Then go to your project directory and set the ruby version

     rbenv local 2.6.0
    

    Remove the install bundlers

     gem uninstall bundler
    

    Then install the latest bundler,the following will install the latest bundler

     gem install bundler
    

    Then you are good to go.

提交回复
热议问题