Skip to content

Commit c4a9347

Browse files
JonRowebenoittgt
authored andcommitted
Prevent Github complaining about FFI / Rubyzip (rspec#2040)
* Prevent Github complaining about FFI * Prevent Github warning about Rubyzip
1 parent 527a79e commit c4a9347

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ end
3030

3131
if RUBY_VERSION < '1.9'
3232
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
33+
else
34+
gem 'ffi', '~> 1.9.25'
3335
end
36+
3437
if RUBY_VERSION >= '2.0.0'
3538
gem 'rake', '>= 10.0.0'
3639
elsif RUBY_VERSION >= '1.9.3'
@@ -71,6 +74,8 @@ if RUBY_VERSION <= '1.8.7'
7174
# cucumber and gherkin require rubyzip as a runtime dependency on 1.8.7
7275
# Only < 1.0 supports 1.8.7
7376
gem 'rubyzip', '< 1.0'
77+
else
78+
gem "rubyzip", '>= 1.2.2'
7479
end
7580

7681
if RUBY_VERSION >= '2.0.0' && RUBY_VERSION < '2.2.0'

0 commit comments

Comments
 (0)