So I have been deploying my app to the same heroku server for the past few weeks and it has been working great.
I just tried to deploy my latest code and got this e
I had the same issue here, running Rails 5 . Though I am not 100% sure, I believe it happened because of a problem with the line endings on the bin/ files.
I altered the global seeting on Git, dealing with line endings:
$ git config --global core.autocrlf true
And then updated the bin files, with:
rails app:update:bin
(on previous rails versions it goes by rake rails:update:bin
)
More on how Git deals with this issue (and how to refresh a repository, if necessary) here: https://help.github.com/articles/dealing-with-line-endings/