Skip to content

Commit

Permalink
Merge pull request pdfkit#88 from daphonz/master
Browse files Browse the repository at this point in the history
PDFKit cannot find the wkhtmltopdf binary file in the gem wkhtmltopdf-binary when using Bundler
  • Loading branch information
mdeering committed Jun 17, 2011
2 parents 7a9fe33 + 0213e6e commit 24936e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdfkit/configuration.rb
Expand Up @@ -17,7 +17,7 @@ def initialize
end

def wkhtmltopdf
@wkhtmltopdf ||= `which wkhtmltopdf`.chomp
@wkhtmltopdf ||= (defined?(Bundler) ? `bundle exec which wkhtmltopdf` : `which wkhtmltopdf`).chomp
end
end

Expand Down

0 comments on commit 24936e4

Please sign in to comment.