Giter VIP home page Giter VIP logo

Comments (6)

dmitry avatar dmitry commented on May 24, 2024 1

Isn't it better to use the same binaries for production which was used for the testing. I've used wkhtmltopdf-binary for a year, and just found they are stopped to update. wkhtmltopdf-binary-edge looks like a nice alternative.

So the size of the gem package is big - and this one is the only issue to add it into a production system?

from wkhtmltopdf-binary-edge.

pallymore avatar pallymore commented on May 24, 2024 1

yea if your team has mac os users...it's recommended to use two gems.

group :development, :test do
  gem 'wkhtmltopdf-binary-edge'
end 

group :production do
  gem 'wkhtmltopdf-heroku'
end 

from wkhtmltopdf-binary-edge.

pallymore avatar pallymore commented on May 24, 2024

because it's very large - it has binaries for 3 different operating systems.

To use wkthmltopdf in production

OR

from wkhtmltopdf-binary-edge.

pallymore avatar pallymore commented on May 24, 2024

yea that's the main issue.
Ideally we should use the same binaries - but many people don't develop under the same OS as the production servers.
what's your production environment? if you are using Ubuntu 64bit 14.04LTS (or running it w/ Vagrant) - please skip this gem and use the wkthmltopdf-heroku gem only.

from wkhtmltopdf-binary-edge.

dmitry avatar dmitry commented on May 24, 2024

CI - ubuntu, my dev - ubuntu, production - ubuntu, other dev - mac os

from wkhtmltopdf-binary-edge.

dmitry avatar dmitry commented on May 24, 2024

That's what I thought too. Thanks for help! Might be good to add some notes about it in readme.

from wkhtmltopdf-binary-edge.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.