Rails bundle - bad interpreter
You should run:
gem install bundler
after reinstalling ruby and point of note, your version of ruby should be same as that in the Gemfile
For me the problem was happening because I had installed 2 versions of Ruby, and after deleted one of them. The console was trying to get the deleted version of ruby.
The solution was:Remove the old version from the environment vars.
Observation: I'm using Windows 10.