Skip to content

Commit 9a3e831

Browse files
Add ruby-vips in the :development group (#959)
* Add `ruby-vips` in the `:development, :test` group This (mostly) fixes the problem reported in bullet-train-co/bullet_train-core#464 However, due to bullet-train-co/bullet_train-core#498 we don't currently try to show a user profile photo if we're using ActiveStorage instead of Cloudinary. Here's some context about why we need to add this directly to the `Gemfile`. libvips/ruby-vips#155 (comment) * Try it here
1 parent 122f695 commit 9a3e831

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ group :development do
7676

7777
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
7878
# gem "spring"
79+
80+
# Workaround to get image process to behave on a Mac in development
81+
# https://github.com/libvips/ruby-vips/issues/155#issuecomment-1047370993
82+
gem "ruby-vips"
7983
end
8084

8185
group :test do

Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ DEPENDENCIES
657657
rails_best_practices
658658
redis (~> 5.0.5)
659659
rqrcode
660+
ruby-vips
660661
selenium-webdriver
661662
sentry-rails
662663
sentry-ruby

0 commit comments

Comments
 (0)