Skip to content

Commit d992c23

Browse files
committed
Force FFI version 1.12 to compile on OSX
See ffi/ffi#791
1 parent 82b715c commit d992c23

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
1010

1111
# Include the tech docs gem
1212
gem 'govuk_tech_docs'
13+
14+
# Include specific version of FFI until following issue is fixed:
15+
# https://github.com/ffi/ffi/issues/791
16+
gem "ffi", "1.12"

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GEM
4343
execjs (2.7.0)
4444
fast_blank (1.0.0)
4545
fastimage (2.2.0)
46-
ffi (1.13.1)
46+
ffi (1.12.0)
4747
govuk_tech_docs (2.0.13)
4848
activesupport
4949
chronic (~> 0.10.2)
@@ -174,6 +174,7 @@ PLATFORMS
174174
ruby
175175

176176
DEPENDENCIES
177+
ffi (= 1.12)
177178
govuk_tech_docs
178179
tzinfo-data
179180
wdm (~> 0.1.0)

0 commit comments

Comments
 (0)