Bundle command not found Windows x64

miguelglz picture miguelglz · Dec 16, 2012 · Viewed 35.6k times · Source

I just installed ruby with the Heroku Toolbelt, probem is that when I do bundle install it gives me this error:

sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpreter: No such file or directory

Acording to this question Bundle command not found. Bad Interpreter I should change the PATH, but I dont know how to do this, I have changed windows PATH enviorment variable, even changed to C:\ruby-1.9.2\bin I get a similar error:

sh.exe": /c/ruby-1.9.3/bin/bundle: "c:/Program: bad interpreter: No such file or directory

When I try to reinstall the Toolbelt I change the install direcotry to c:\ but still the wizard install git and ruby folders at Program Files (x86) directory.

Any suggestions?

Answer

regulatethis picture regulatethis · Dec 16, 2012

You probably don't have the Bundler gem installed.

Assuming you have Ruby installed:

gem install bundler

should do the trick.