Skip to content

ruby 3.1.2, using rbenv, ubuntu 22.04 #147

@ashrafalzyoud

Description

@ashrafalzyoud
$ wkhtmltopdf --version
/home/redmine/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf:61:in `<top (required)>': Invalid platform, must be running on Ubuntu 16.04/18.04/20.04 CentOS 6/7/8, Debian 9/10, archlinux amd64, or intel-based Cocoa macOS (missing binary: /home/redmine/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf_ubuntu_22.04_amd64). (RuntimeError)
	from /home/redmine/.rbenv/versions/3.1.2/bin/wkhtmltopdf:25:in `load'
	from /home/redmine/.rbenv/versions/3.1.2/bin/wkhtmltopdf:25:in `<main>'

not working by gem wkhtmltopdf_exe_path: '/home/redmine/.rbenv/shims/wkhtmltopdf'
if im install it by apt its working wkhtmltopdf_exe_path: '/usr/bin/wkhtmltopdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions