heroku push error: “Could not detect rake tasks”

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

    I'd been getting both

    Could not detect rake tasks

    and

    LoadError: cannot load such file

    Turns out I'd got case wrong on a require statment - works fine on Windows (case insensitive filesystem) but fails on Heroku with those errors (quite mis-leading when looking at the 'Could not detect rake tasks')

提交回复
热议问题