While following the Rails 4 Beta version of Michael Hartl\'s Ruby on Rails Tutorial, my app fails to start on Heroku, but runs fine locally with
I can confirm running rake rails:update:bin
works, as said by @Ryan Taylor.
I think I had this problem because I originally created this Rails app on Windows. Running the command above on Linux solved for me.
Also, on changing from Windows to Linux for development, it is a good idea to delete Gemfile.lock
file and run bundle install
to generate it again without Windows specific gems listed there.