我一直在尝试安装Laravel Homestead,但现在看来我已经卡住了好几个小时了。我按照here的说明进行操作。我能够编辑homestead.yaml并编辑Windows 7的路径。我正在使用Git Bash来运行所有内容,所以当我输入$ vagrant up
时,我得到了一大堆错误。
c:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown>
): did not find expected '-' indicator while parsing a block collection at line
12 column 5 (Psych::SyntaxError)
from c:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse
_stream'
from c:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:153:in `parse
'
from c:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:129:in `load'
from c:/users/Designer1/Desktop/Code/Vagrantfile:17:in `block in <top (r
equired)>'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/v2/loader.rb:37:in `call'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/v2/loader.rb:37:in `load'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/loader.rb:103:in `block (2 levels) in load'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/loader.rb:97:in `each'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/loader.rb:97:in `block in load'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/loader.rb:94:in `each'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/c
onfig/loader.rb:94:in `load'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/v
agrantfile.rb:28:in `initialize'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:691:in `new'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:691:in `vagrantfile'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:441:in `host'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:207:in `block in action_runner'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/a
ction/runner.rb:33:in `call'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/a
ction/runner.rb:33:in `run'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:428:in `hook'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/e
nvironment.rb:673:in `unload'
from c:/HashiCorp/Vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/va
grant:177:in `ensure in <main>'
from c:/HashiCorp/Vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/va
grant:177:in `<main>'
如果有人知道我做错了什么,请帮助!