michelsalib/BCCResqueBundle — pull request #9 by ruudk (2012-10-18 12:43:37+00:00)
Title: Fixed bug + configurable vendor_dir

My application has a different directory structure so the location of the vendor_dir is different. This patch allows you to configure the vendor_dir via your config:

````yaml
bcc_resque:
vendor_dir: %kernel.root_dir%/../../vendor
````

If you leave it empty the default value will be used.

This patch also fixes the following error:

````console
Ruud@imacruud:/www/apoio$ php app/console bcc:resque:worker-start -f hooks
Starting worker APP_INCLUDE=/Volumes/www/app/api/../../vendor/autoload.php VVERBOSE=1 QUEUE=hooks php /Volumes/www/app/api/../../vendor/chrisboulton/php-resque/resque.php
sh: /www/APP_INCLUDE=/Volumes/www/app/api/../../vendor/autoload.php: No such file or directory
sh: line 0: exec: /www/APP_INCLUDE=/Volumes/www/app/api/../../vendor/autoload.php: cannot execute: No such file or directory
````

By setting the ENV variables on the third parameter of ``Symfony\Component\Process\Process``.