Skip to content

Instantly share code, notes, and snippets.

@jelovac
Last active August 29, 2015 14:18
Show Gist options
  • Save jelovac/a24fe4cc7e1a15a1e045 to your computer and use it in GitHub Desktop.
Save jelovac/a24fe4cc7e1a15a1e045 to your computer and use it in GitHub Desktop.
Homestead issue on Windows 7
# For some reason homestead cli tool is looking for .homestead directory in the wrong place.
C:\Users\Silmarilion\.homestead>homestead up
C:/Users/Silmarilion/AppData/Roaming/Composer/vendor/laravel/homestead/Vagrantfile:17
:in `read': No such file or directory - C:/Users/Silmarilion/AppData/Roaming/Composer
/vendor/laravel/homestead/Users/Silmarilion/.homestead/Homestead.yaml (Errno::ENOENT)
from C:/Users/Silmarilion/AppData/Roaming/Composer/vendor/laravel/homestead/V
agrantfile:17:in `block in <top (required)>'
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/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:1
77:in `ensure in <main>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:1
77:in `<main>'
@benjaminsinger
Copy link

I had this issue in that the '.homestead' part of the file path on line 6 should have been 'Homestead', it works fine after changing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment