Skip to content

Commit 64c6424

Browse files
committed
Fix errors happening in tests because of vips.
See libvips/ruby-vips#155
1 parent 7818bb4 commit 64c6424

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# frozen_string_literal: true
22

3+
# Required to prevent vips issues on MacOS
4+
# See https://github.com/libvips/ruby-vips/issues/155
5+
require "vips"
6+
37
# In some situations Rails is not yet loaded here, so present? will not work.
48
if ENV["COVERAGE"] && ENV["COVERAGE"] != ""
59
require "simplecov"

0 commit comments

Comments
 (0)