On Tue, Nov 30, 2010 at 1:13 PM, Nick Burdick <[email protected]> wrote:

> :) Yep... it should go without saying... but that seems to be exactly
> what my problem is.  Go figure.  I'm still having an error issue inside
> Rails, but I think that has something to do with the configuration.
>

Hmmm.... well as far as the config, if you can hit wkhtmltopdf from the
command line then you should not have to do anything else, unless you are
using a gem like pdfkit

I use wkthmltopdf straight like:

    # tell wkhtmltopdf to convert html file to pdf
    if Rails.env=="heroku"
      %x[vendor/wkhtmltopdf/wkhtmltopdf-amd64 #{html_path} #{new_pdf_path}]
    else
      %x[wkhtmltopdf #{html_path} #{new_pdf_path}]
    end




>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to