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

Setup fails when using default PHPUnit version #23

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions