Skip to content

The exiftool gem requires the exiftool perl package, which this includes.

License

Notifications You must be signed in to change notification settings

exiftool-rb/exiftool_vendored.rb

Repository files navigation

exiftool-vendored.rb

Build Status Gem Version Gem Downloads Gem Latest Test Coverage Maintainability

This is

  • a vendored version of Phil Harvey's excellent exiftool library, and
  • a dependency on the exiftool rubygem, and
  • an autoload script that configures the Exiftool gem to use the vendored version of the exiftool library.

Ruby Support Deprecation Notice

Future releases of exiftool_vendored Gem will no longer support following Ruby Versions due to their End Of Life announcements:

  • Ruby 2.4 (EOL 2020-03-31)
  • Ruby 2.5 (EOL 2021-03-31)
  • Ruby 2.6 (EOL 2022-04-12)
  • Ruby 2.7 (EOL 2023-03-31)
  • Ruby 3.0 (EOL 2024-04-23)

Installation

Add this line to your application's Gemfile:

gem 'exiftool_vendored'

Example

$ exiftool
-bash: exiftool: command not found
irb(main):001:0> require 'exiftool_vendored'
=> true
irb(main):002:0> Exiftool.command
=> "/Users/sergey/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/exiftool_vendored-12.15.0/bin/exiftool"
irb(main):003:0> Exiftool.exiftool_version
=> "12.15"

Versioning

The version of this rubygem will match the major and minor versions of the exiftool library that it vendors.