Skip to content

Commit a2a3ff3

Browse files
committed
Works around 1.8.7 error with rubyzip: https://travis-ci.org/rspec/rspec-rails/jobs/15135801
1 parent 80d1927 commit a2a3ff3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ if RUBY_VERSION < '1.9.2'
3737
gem 'nokogiri', '~> 1.5.0'
3838
end
3939

40+
if RUBY_VERSION <= '1.8.7'
41+
# cucumber and gherkin require rubyzip as a runtime dependency on 1.8.7
42+
# Only < 1.0 supports 1.8.7
43+
gem 'rubyzip', '< 1.0'
44+
end
45+
4046
custom_gemfile = File.expand_path("../Gemfile-custom", __FILE__)
4147
eval File.read(custom_gemfile) if File.exist?(custom_gemfile)
4248

0 commit comments

Comments
 (0)