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 error when trying to run:
heroku run rails db:migrate
The error I got was this:
/usr/bin/env: ‘ruby.exe\r’: No such file or directory problem
I have looked at many other threads concerning this problem and taken their advice.
The most common answer was to change the first line of the bin/bundle, bin/rails and bin/rake folders from this:
#!/usr/bin/env ruby.exe
To this:
#!/usr/bin/env ruby
However did this not work for me and I keep getting the same error
Any other possible solutions to this problem?
I am running on a windows machine