Thursday, 15 September 2011

php - Problems in configuring Homestead.yaml in Laravel 5 -



php - Problems in configuring Homestead.yaml in Laravel 5 -

i new laravel , going set vm apps. next docs , done configuration. stuck here.

i have windows 8 , homestead.yaml file looks this:

authorize: e:/laravel_projects/homestead/keys.pub keys: - ~/.ssh/id_rsa folders: - map: e:/laravel_projects to: e:/vagrant/laravel_projects sites: - map: learn.app to: e:/vagrant/laravel_projects/myfirstapp/public variables: - key: app_env value: local

error when run vagrant in cmd.

e:/laravel_projects/homestead/scripts/homestead.rb:26:in `read': no such file or directory - e:/laravel_projects/homestead/keys.pub (errno::enoent) e:/laravel_projects/homestead/scripts/homestead.rb:26:in `block in configure' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm_provisioner.rb:72:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm_provisioner.rb:72:in `add_config' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm.rb:285:in `provision' e:/laravel_projects/homestead/scripts/homestead.rb:24:in `configure' e:/laravel_projects/homestead/vagrantfile:9:in `block in <top (required)>' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/v2/loader.rb:37:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/v2/loader.rb:37:in `load' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:97:in `each' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:97:in `block in load' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:94:in `each' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:94:in `load' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/vagrantfile.rb:28:in `initialize' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:614:in `new' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:614:in `vagrantfile' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:399:in `host' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:198:in `block in action_runner' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:33:in `call' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:33:in `run' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:386:in `hook' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:596:in `unload' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/bin/vagrant:177:in `ensure in <main>' c:/hashicorp/vagrant/embedded/gems/gems/vagrant-1.6.5/bin/vagrant:177:in `<main>'

my project path e:/laravel_projects.

should this:

folders: - map: e:/laravel_projects to: /home/vagrant/laravel_projects - map: e:/laravel_projects/myfirstapp to: /home/vagrant/laravel_projects/myfirstapp sites: - map: learn.app to: /home/vagrant/laravel_projects/myfirstapp/public

your linux vm not have e drive.

php laravel-5

No comments:

Post a Comment