Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with new ffi Ruby version requirement #42

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion Gemfile
Expand Up @@ -38,12 +38,15 @@ end
gem "activesupport", *rails_gem_args
gem "activemodel", *rails_gem_args

if RUBY_VERSION.to_f < 2
if RUBY_VERSION < '1.9'
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
Expand Down