Class: Sprockets::ImageCompressor::Base
- Inherits:
-
Object
- Object
- Sprockets::ImageCompressor::Base
show all
- Defined in:
- lib/sprockets/image_compressor/base.rb
Instance Method Summary
collapse
Instance Method Details
#binary_path ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'lib/sprockets/image_compressor/base.rb', line 8
def binary_path
@binary_path ||= begin
try_vendored_binaries || try_system_binary or raise """
Can't find an installed version of #{@name}, and none of the vendored binaries seem to work.
Please install #{@name}, or open an issue on the project page at https://github.com/botandrose/sprockets-image_compressor
"""
end
end
|