Skip to content

Commit 4b83890

Browse files
committed
pin ffi on 1.8 and 1.9
1 parent aa305cb commit 4b83890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
3030
gem 'json', '< 2.0.0'
3131
end
3232

33+
if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
34+
gem 'ffi', '< 1.9.15' # allow ffi to be installed on older rubies on windows
35+
end
36+
3337
platforms :jruby do
3438
gem "jruby-openssl"
3539
end

0 commit comments

Comments
 (0)