Skip to content

Commit

Permalink
Add ruby-vips in the :development group (#959)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jagthedrummer authored Sep 1, 2023
1 parent 122f695 commit 9a3e831
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ group :development do

# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"

# Workaround to get image process to behave on a Mac in development
# https://github.com/libvips/ruby-vips/issues/155#issuecomment-1047370993
gem "ruby-vips"
end

group :test do
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ DEPENDENCIES
rails_best_practices
redis (~> 5.0.5)
rqrcode
ruby-vips
selenium-webdriver
sentry-rails
sentry-ruby
Expand Down

0 comments on commit 9a3e831

Please sign in to comment.