Skip to content
This repository was archived by the owner on Jun 30, 2020. It is now read-only.

Setup fails when using default PHPUnit version #23

Open
ghost opened this issue Mar 14, 2013 · 0 comments
Open

Setup fails when using default PHPUnit version #23

ghost opened this issue Mar 14, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 14, 2013

I get the following error when "starting" Vagrant with this cookbook's default PHPUnit version (3.6.11):

[2013-03-14T10:01:25+01:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: chef-php-extra_pear[PHPUnit] (chef-php-extra::PHPUnit line 37) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of echo -e "\r" | pear -d preferred_state=stable install -a pear.phpunit.de/PHPUnit-3.6.11 ----
STDOUT: Duplicate package channel://pear.phpunit.de/Text_Template-1.1.3 found
Duplicate package channel://pear.phpunit.de/Text_Template-1.1.2 found
install failed
STDERR: 
---- End output of echo -e "\r" | pear -d preferred_state=stable install -a pear.phpunit.de/PHPUnit-3.6.11 ----
Ran echo -e "\r" | pear -d preferred_state=stable install -a pear.phpunit.de/PHPUnit-3.6.11 returned 1

When configuring it with PHPUnit 3.7.18 (latest) it works fine. I guess setting the defaults to 3.7.x should solve this. I am super new to Vagrant/Chef, so not sure if there could be another reason for this to fail

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants