流浪汉后,宅基地不起作用

时间:2015-06-10 13:36:23

标签: laravel vagrant virtualbox homestead

“homestead up”命令不适用于Ubuntu 14.10。这些是该命令的结果:

  

/home/omicronit/.composer/vendor/laravel/homestead/Vagrantfile:18:in read': No such file or directory - /home/omicronit/.homestead/Homestead.yaml (Errno::ENOENT) from /home/omicronit/.composer/vendor/laravel/homestead/Vagrantfile:18:in阻止'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/v2/loader.rb:37:in load'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:103:in block (2 levels) in load' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in每个'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:97:in block in load' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in每个'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/config/loader.rb:94:in load' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:28:in initialize'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in new' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:691:in vagrantfile'       from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:441:in host' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:207:in block in action_runner'       from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:33:in run'       来自/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:428:in hook' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:673:in卸载'       来自/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in ensure in <main>' from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in'

1 个答案:

答案 0 :(得分:0)

homestead无法读取您的~/.homestead/Homestead.yaml文件。

确保目录(~/.homestead)和文件(Homestead.yaml)存在且可读。

如果缺少,您可以获得存根here

P.S。如果您刚刚安装了Homestead,那么很可能您忘记在installation期间执行强制步骤(请参阅克隆Homestead存储库小节):

从你已经克隆家园的目录中运行bash init.sh