laravel プロジェクトを git clone してきて、 vagrant up したら立ち上がりませんでした。環境は Mac + Vagrant です。
Homestead の立ち上げを試みる
vagrant up
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: /Users/pugiemonn/Documents/pugiemonn.com/Vagrantfile
Line number: 0
Message: LoadError: cannot load such file -- /Users/pugiemonn/Documents/pugiemonn.com/vendor/laravel/homestead/scripts/homestead.rb
This is usually caused by a syntax error.
と書いてありますが、ここは、vendor ディレクトリ内のファイルが無いことに注目します。
composer update
vendor 以下のファイルが無いなら composer install をすると良さそうです。
composer update
もろもろファイルがインストールされました。
再度 vagrant up
vagrant up
今度はエラーが出なくなりました(☝ ՞ਊ ՞)