From f8dfb38181be02c973194657242590754eeed51e Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Sun, 27 Dec 2020 22:13:51 +0100 Subject: [PATCH] Add OpenSSL requirement details for jRuby /cc @tarcieri Probably we should just add dependency on gem itself? --- Gemfile | 2 ++ README.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Gemfile b/Gemfile index 3abd333b..8b2311fd 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,8 @@ ruby RUBY_VERSION gem "rake" +gem "openssl", "~> 2.0.7", :platform => :jruby + group :development do gem "guard-rspec", :require => false gem "nokogiri", :require => false diff --git a/README.md b/README.md index 99cd4fb2..36f1c7da 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,21 @@ require "http" ...to pull it in as a dependency. +### jRuby + +If running on jRuby you eill need to install [`openssl`][openssl-gem], by +running: + + gem install openssl + +Or by adding it to your Gemfile: + + # file: Gemfile + gem "openssl" + +[openssl-gem]: https://github.com/ruby/openssl + + ## Documentation [Please see the http.rb wiki][documentation]