简体   繁体   中英

Vagrant and git bash

I like to use git bash instead of windows command prompt.

I've just installed vagrant and Vbox.

When I vagrant init in git bash I get

d:\\Program Files\\Vagrant\\embedded\\bin\\ruby.exe: No such file or directory -- d:/ Program/lib/vagrant/pre-rubygems.rb (LoadError)

When I call the command in command prompt it works, I'm trying to tear myself away from guis im quite new to CLIs

anyone know whats up?

I was having the same problem, I uninstalled vagrant, renamed C:\\Users\\%USER%\\.vagrant.d to .vagrant.d.bak, and then reinstalled. That seems to have solved the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM