diff --git a/scripts/homestead.rb b/scripts/homestead.rb index 0c79a3a41..1fd98ecaf 100644 --- a/scripts/homestead.rb +++ b/scripts/homestead.rb @@ -673,7 +673,7 @@ def self.configure(config, settings) # Update Composer On Every Provision config.vm.provision 'shell' do |s| s.name = 'Update Composer' - s.inline = 'sudo chown -R vagrant:vagrant /usr/local/bin && sudo -u vagrant /usr/local/bin/composer self-update --no-progress && sudo chown -R vagrant:vagrant /home/vagrant/.config/' + s.inline = 'sudo chown -R vagrant:vagrant /usr/local/bin && sudo -u vagrant /usr/bin/php8.3 /usr/local/bin/composer self-update --no-progress && sudo chown -R vagrant:vagrant /home/vagrant/.config/' s.privileged = false end