“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:incall' 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:inblock (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:inblock 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:inload' 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:innew' 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:inhost' 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:incall' 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:inhook' 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:inensure in <main>' from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:177:in
'
答案 0 :(得分:0)
homestead
无法读取您的~/.homestead/Homestead.yaml
文件。
确保目录(~/.homestead
)和文件(Homestead.yaml
)存在且可读。
如果缺少,您可以获得存根here。
P.S。如果您刚刚安装了Homestead,那么很可能您忘记在installation期间执行强制步骤(请参阅克隆Homestead存储库小节):
从你已经克隆家园的目录中运行bash init.sh
。