heroku push error: “Could not detect rake tasks”

后端 未结 10 1191
离开以前
离开以前 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 02:10

    TL;DR; Have gem "better_errors", gem "binding_of_caller", gem 'pry-byebug' in global scope of your Gemfile

    In my case it was because I moved these 3 gems from the global scope to development in my Gemfile:

    gem "better_errors"

    gem "binding_of_caller"

    gem 'pry-byebug'

    They should probably be only in the development scope, but there's something that I'm missing. So, moving them back outside of the development scope my deploy and rakes work correctly

提交回复
热议问题