From 762daf9f368ac4820d116d71a27687c692431e66 Mon Sep 17 00:00:00 2001 From: Jesse O'Brien Date: Mon, 21 Jan 2013 15:50:24 -0500 Subject: [PATCH] Extra check for vendor 3 folders up. Failure to check up *3* folders when running the binary from chrisboulton/php-resque/bin/ results in never finding the autoload file when it tries to load up the composer dependencies. --- bin/resque | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/resque b/bin/resque index 186e1eef..40c55891 100644 --- a/bin/resque +++ b/bin/resque @@ -4,6 +4,7 @@ // Find and initialize Composer $files = array( __DIR__ . '/../../vendor/autoload.php', + __DIR__ . '/../../../autoload.php', __DIR__ . '/../../../../autoload.php', __DIR__ . '/../vendor/autoload.php', );