Skip to content

Commit

Permalink
Deal with new ffi Ruby version requirement
Browse files Browse the repository at this point in the history
CI was failing for 1.9.2 and 1.9.3. This is due to
ffi/ffi#683

Related:
- ffi/ffi#699
  • Loading branch information
benoittgt committed May 19, 2019
1 parent 372fde6 commit d89dede
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Gemfile
Expand Up @@ -38,20 +38,20 @@ end
gem "activesupport", *rails_gem_args
gem "activemodel", *rails_gem_args

if RUBY_VERSION.to_f < 2
if RUBY_VERSION < '1.9'
gem 'i18n', '< 0.7.0'
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
elsif RUBY_VERSION.to_f < 2
gem "cucumber", "~> 1.3.20"
gem "contracts", "0.15.0" # doesn't work on Ruby 1.9.3
gem 'json', '< 2'
gem 'term-ansicolor', '< 1.4.0' # used by cucumber
gem 'tins', '~> 1.6.0' # used by term-ansicolor
gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0
else
gem "cucumber"
end

if RUBY_VERSION < '1.9.3'
gem 'i18n', '< 0.7.0'
end

platform :rbx do
gem 'rubysl'
end
Expand Down

0 comments on commit d89dede

Please sign in to comment.