Vagrant and git bash

我的未来我决定 提交于 2019-12-13 05:09:03

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/22543643/vagrant-and-git-bash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!