Skip to content

Commit

Permalink
Pin jruby-openssl on older JRuby (rspec#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe authored and benoittgt committed May 18, 2019
1 parent e64b61c commit c4e8976
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
end

platforms :jruby do
gem "jruby-openssl"
if RUBY_VERSION < '1.9.0'
# Pin jruby-openssl on older Rubies
gem "jruby-openssl", "< 0.10.0"
else
gem "jruby-openssl"
end
end

eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')

0 comments on commit c4e8976

Please sign in to comment.