PDFKit Fork() Function Unimplemented Error - HELP!

Hello All,

We're working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in 'config/initializers/pdfkit.rb'
and then finally, setting up Middleware for Rails apps in
'config/environment.rb'. We have done all of the following and when we
run the server and append the '.pdf' extension, we receive a 500
Internal Server Error. Upon inspection of the console, we find a fork()
function unimplemented error. The console output is listed below:

Hello All,

We're working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in 'config/initializers/pdfkit.rb'
and then finally, setting up Middleware for Rails apps in
'config/environment.rb'. We have done all of the following and when we
run the server and append the '.pdf' extension, we receive a 500
Internal Server Error. Upon inspection of the console, we find a fork()
function unimplemented error. The console output is listed below:

Ruby on windows doesn't have fork. You might try rewriting the bit
that uses kernel.open to use IO.popen instead

Fred

Frederick Cheung wrote: