I’ve recently faced this problem in rails. Almost every code I’ve entered return an error, saying there’s a bad interpreter. The following are some of the errors I’ve been facing lately:
bundle install
sh exe”: /c/Program Files (x86)/ruby-1.9.3/bin/bundle: “c:/Program:
bad interpreter: No such file or directory
rake db:migrate
sh exe”: /c/Program Files (x86)/ruby-1.9.3/bin/rake: “c:/Program: bad
interpreter: No such file or directory
Does anyone know how to solve this problem? Even my reinstalling rails multiple times, I’m unable to solve this error.
It seems it doesn’t like the space in the path …
Can you reinstall everything in a path without spaces? It usually is safer