From fd094c967e6078316bfd30fc2d04581ae29d1bc6 Mon Sep 17 00:00:00 2001 From: mattack108 Date: Fri, 20 Sep 2013 12:27:16 +0100 Subject: symlink is probably required --- before_script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/before_script.sh b/before_script.sh index 2197417..fbc1bc9 100755 --- a/before_script.sh +++ b/before_script.sh @@ -4,5 +4,6 @@ sudo apt-get install -y openssl build-essential xorg libssl-dev wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 sudo chown root:root wkhtmltopdf-amd64 -export WKHTMLTOPDF_CMD=`pwd`/wkhtmltopdf-amd64 +sudo ln -s wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf +export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf $WKHTMLTOPDF_CMD --version -- cgit v1.2.3