Ok, so after banging my head to a wall for a while I manually installed the global composer packages, commented composer provisioning away and fixed the missing escaping on scripts/environment.sh:
--- a/scripts/environment.sh
+++ b/scripts/environment.sh
@@ -42,7 +42,7 @@ block="
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
fastcgi_param LARA_ENV local; # Environment variable for Laravel
- fastcgi_param HTTP_PROXY ""; # Fix for https://httpoxy.org/ vulnerability
+ fastcgi_param HTTP_PROXY \"\"; # Fix for https://httpoxy.org/ vulnerability
fastcgi_param HTTPS off;
}
@@ -82,7 +82,7 @@ block="
text/plain \
text/xml;
gzip_buffers 16 8k;
- gzip_disable "MSIE [1-6]\.(?!.*SV1)";
+ gzip_disable \"MSIE [1-6]\.(?!.*SV1)\";
}
"
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -292,7 +292,7 @@ Vagrant.configure("2") do |config|
##########
# Provision Composer
- config.vm.provision "shell", path: "#{github_url}/scripts/composer.sh", privileged: false, args: composer_packages.join(" ")
+ #config.vm.provision "shell", path: "#{github_url}/scripts/composer.sh", privileged: false, args: composer_packages.join(" ")
# Provision Laravel
# config.vm.provision "shell", path: "#{github_url}/scripts/laravel.sh", privileged: false, args: [server_ip, laravel_root_folder, public_folder, laravel_version]
And now it works. The scripts.sh is trivial to fix but I don't know how to properly fix the composer provisioning.
Should I make a pull request for the script and file an issue for the provisioning?