Skip to content

Commit 0b58b3e

Browse files
committed
Add ruby-vips gem
This is now a soft dependency of image_processing. I've chosen ruby-vips rather than mini_magick as it's a newer library that is meant to be more efficient and it looks like we've already done the work to set up the vips library in our dockerfile.
1 parent 1985efb commit 0b58b3e

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ gem 'rack_content_type_default', '~> 1.1'
4444
gem 'rack-cors'
4545
gem 'rails', '~> 8.1.3'
4646
gem 'ruby-progressbar', '~> 1.13', require: false
47+
gem 'ruby-vips'
4748
gem 'sentry-rails'
4849
gem 'statesman'
4950

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ GEM
183183
logger
184184
faraday-net_http (3.4.2)
185185
net-http (~> 0.5)
186+
ffi (1.17.4-aarch64-linux-gnu)
187+
ffi (1.17.4-arm64-darwin)
188+
ffi (1.17.4-x86_64-linux-gnu)
186189
fiber-storage (1.0.1)
187190
flipper (1.4.2)
188191
concurrent-ruby (< 2)
@@ -497,6 +500,9 @@ GEM
497500
ruby-lsp-rspec (0.1.29)
498501
ruby-lsp (~> 0.26.0)
499502
ruby-progressbar (1.13.0)
503+
ruby-vips (2.3.0)
504+
ffi (~> 1.12)
505+
logger
500506
rubyzip (3.0.2)
501507
sanitize (7.0.0)
502508
crass (~> 1.0.2)
@@ -625,6 +631,7 @@ DEPENDENCIES
625631
ruby-lsp
626632
ruby-lsp-rspec (~> 0.1.29)
627633
ruby-progressbar (~> 1.13)
634+
ruby-vips
628635
selenium-webdriver
629636
sentry-rails
630637
shoulda-matchers (~> 7.0)

0 commit comments

Comments
 (0)