0

Every time that I try to "Create a contract" in my system, Sidekiq show me this error :

Failed to execute: ["/fullpath/operations/app/views/contract_mailer/contract_email.html.erb", "/var/folders/0g/zqwyw_w11tld3w98vx9qf_vc0000gp/T/wicked_pdf_generated_file20170330-28967-pvuw5y.pdf"] Error: PDF could not be generated! Command Error: Error: Failed loading page file:////fullpath/operations/app/views/contract_mailer/contract_email.html.erb (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1, due to unknown error.

I'm not understanding why this is happening, I followed every single step of the documentation and etc. My HTML file is OK too (apparently). Specifications of my system and some gems that I'm using:

  • Ruby 2.3.3
    Rails 4.1.8
    gem 'sidekiq', '~> 4.0.0' gem 'activeadmin', github: 'gregbell/active_admin'
    gem 'sidekiq-cron', '~> 0.4.0'
    gem 'aws-sdk', '~> 2'
    gem 'paperclip', '~> 4.3.7'
    gem 'wicked_pdf'
    gem 'wkhtmltopdf-binary-edge', '~> 0.12.2.1'
Richard Nikolas
  • 505
  • 4
  • 11

0 Answers0