Comments (2)
image_optim_pack
provides binaries only for image_optim
gem. It finds directory from vendor/*/*
with binaries which work on current system and adds that directory to paths used by image_optim
. Binaries are not made available globally not to mess with binaries available in PATH
(as binaries from gems are normally available there). If you want to make them available in the environment of your app you can do something like this:
system 'jpeg-recompress -V' # fails if jpeg-recompress is not available in PATH
require 'image_optim_pack' # or 'image_optim/pack'
ENV['PATH'] += ":#{ImageOptim::Pack.path}"
system 'jpeg-recompress -V'
from image_optim_pack.
Oh, I see.
Thanks for the great explanation.
from image_optim_pack.
Related Issues (20)
- Add archive checksum verification
- Error: uninitialized constant EXIFR::JPEG HOT 1
- Missing binaries error in production HOT 20
- Windows support HOT 4
- image_optim_pack-0.5.0.20171208: uninitialized constant ImageOptim::BinResolver::Bin::Date HOT 3
- Doesn't build on OS X HOT 9
- Remove (nearly-)unused platforms
- Request for help with imagemagick with heic support 😬 HOT 1
- Optimized version guetzli with CUDA & OpenCL
- pngout and svgo not found (with default options) HOT 2
- Unable to use the platform-specific (x86_64-linux) version of image_optim_pack HOT 11
- pngcrush worker: `pngcrush` not found; please provide proper binary or disable this worker HOT 2
- jpegtran from mozjpeg made slightly small files HOT 3
- pngout licence changed? Maybe can be packaged now? HOT 2
- Docker. Debian. Some additional libs are required HOT 3
- Debian [ARM64] `jpeg-recompress` and `oxipng` require `/lib64/ld-linux-x86-64.so.2` HOT 7
- switch to rust version of pngquant
- webp binaries HOT 2
- Add Google Guetzli optimizer HOT 1
- Create task/script to check shared libraries of build binaries 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 image_optim_pack.