Bad interpreter: No such file or directory
- by user1497462
I'm working through Michael Hartl's tutorial trying to learn Rails for the first time, and I've run into some issues. I recently reinstalled the whole Rails Installer because I had apparently inadvertently deleted some important files. Now, when I try running a test I get the following error:
sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpre
ter: No such file or directory
I checked my PATH and attempted to use the solution outlined here: Bundle command not found. Bad Interpreter
..but putting quotation marks around "C:\Program Files (x86)\ruby-1.9.3\bin" didn't do anything for me.
I ran $ rails -v and got the following output:
$ rails -v
?[31mCould not find multi_json-1.3.6 in any of the sources?[0m
?[33mRun `bundle install` to install missing gems.?[0m
So then I tried running $bundle install and got the following issue again:
Tom@TOM-PC /c/sample_app (updating-users)
$ bundle install
sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpre
ter: No such file or directory
I'd really appreciate any help -- I've spent 5+ hours today trying to get back on track and am still at a loss. Thanks!