0
In the development environment I use Windows. soon make the call in config/initializers/wicked_pdf.rb
directly in . exe file
thus
WickedPdf.config = {
exe_path: 'C:/wkhtmltopdf/bin/wkhtmltopdf.exe'
}
But for production use ubunto. and then use the Gem "wkhtmltopdf-Binary" and modify the call in wiked_pdf.Rb to reference, as follows:
WickedPdf.config = {
exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
}
However, when I use windows, with exe. it mounts the pdf file with the organized tables. already when I change to call in ubunto with Gem wkhtmltopdf . he gives the problem of not recognizing the edges of the tables for some reason, I have made several different attempts, but I do not succeed
This also helped me, however the problem with the old model, for me, worked by inserting >> Gem 'bootstrap-Sass' << in the gemfile! solved as well. But thank you very much for the help.
– Carlos Eduardo de Lima