Comments (6)
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.
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.
because it's very large - it has binaries for 3 different operating systems.
To use wkthmltopdf in production
- If you are running your production app on Heroku (or under any Ubuntu 14.04LTS environment), please try https://github.com/rposborne/wkhtmltopdf-heroku
OR
- Install wkhtmltopdf in your production environment directly: http://wkhtmltopdf.org/
from wkhtmltopdf-binary-edge.
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.
CI - ubuntu, my dev - ubuntu, production - ubuntu, other dev - mac os
from wkhtmltopdf-binary-edge.
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)
- Release to rubygems? HOT 2
- wkhtmltopdf-binary-edge doesn't work on Alpine Linux HOT 3
- update to 0.12.5 HOT 3
- Can't update gem version. HOT 3
- wkhtmltopdf 12.5.0 - libjpeg.so.8 ... no such file or directory HOT 21
- Support for Alpine Linux OR better error handling! HOT 2
- libpng12.so.0: cannot open shared object file HOT 1
- Wktohtmltopdf-binary-edge not working in heroku HOT 4
- Command Error: The `wkhtmltopdf` executable in the `wkhtmltopdf-binary-edge` gem is being loaded, but it's also present in other gems (wkhtmltopdf-binary) HOT 2
- libssl.so.1.0.0, libcrypto.so.1.0.0 - mismatching version HOT 1
- Binary not available HOT 2
- Awesome stuff HOT 2
- Https image not loading in pdf HOT 4
- HTML not rendering properly HOT 4
- DPI option stopped functioning HOT 3
- Add composer file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wkhtmltopdf-binary-edge.