Skip to content

Commit

Permalink
Merge pull request #1132 from rdunlop/patch-1
Browse files Browse the repository at this point in the history
Version check hangs on ruby 3 with certain gem combination
  • Loading branch information
unixmonkey authored Nov 4, 2024
2 parents 5a4c76a + 5dc8a89 commit 2bf120d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/wicked_pdf/binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def xvfb_run_path
private

def retrieve_binary_version
_stdin, stdout, _stderr = Open3.popen3(@path + ' -V')
stdin, stdout, stderr = Open3.popen3(@path + ' -V')
stdin.close
stderr.close
parse_version_string(stdout.gets(nil))
rescue StandardError
default_version
Expand Down

0 comments on commit 2bf120d

Please sign in to comment.