Following "Jump start PHP environnement", problem n°1

Hello evreybody

I am following “Jump start PHP environnement” instructions, before I begin to learn PHP, and installing Homestead. Here is what happens when I run command vragrant up (p. 52) :

~/homestead_improved-master $ vagrant up
Vagrant failed to initialize at a very early stage:

There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:

/home/chloe/homestead_improved-master/scripts/homestead.rb:126: syntax error, unexpected tPOW
…ype: folder[“type”] ||= nil, **options
… ^
/home/chloe/homestead_improved-master/scripts/homestead.rb:136: syntax error, unexpected keyword_do_block, expecting keyword_end
settings[“sites”].each do |site|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:137: syntax error, unexpected tSTRING_BEG, expecting keyword_end
config.vm.provision “shell” do |s|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:137: syntax error, unexpected keyword_do_block, expecting keyword_end
config.vm.provision “shell” do |s|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:156: syntax error, unexpected keyword_do_block, expecting keyword_end
settings[“databases”].each do |db|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:157: syntax error, unexpected tSTRING_BEG, expecting keyword_end
config.vm.provision “shell” do |s|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:157: syntax error, unexpected keyword_do_block, expecting keyword_end
config.vm.provision “shell” do |s|
^
/home/chloe/homestead_improved-master/scripts/homestead.rb:166: syntax error, unexpected keyword_end, expecting $end


Humm, I’m already lost. Can someone help me ?

Thanks.
Chloé.

Hello
Is it just because I am not in the home directory ? It seems that I have no right to put the homestead directory in /home

I try to change that.
Chloé.

No, it doesn’t change anything…

Chloé.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.