Skip to content

Commit f8dfb38

Browse files
committed
Add OpenSSL requirement details for jRuby
/cc @tarcieri Probably we should just add dependency on gem itself?
1 parent 42e30d1 commit f8dfb38

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ ruby RUBY_VERSION
55

66
gem "rake"
77

8+
gem "openssl", "~> 2.0.7", :platform => :jruby
9+
810
group :development do
911
gem "guard-rspec", :require => false
1012
gem "nokogiri", :require => false

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,21 @@ require "http"
108108
...to pull it in as a dependency.
109109

110110

111+
### jRuby
112+
113+
If running on jRuby you eill need to install [`openssl`][openssl-gem], by
114+
running:
115+
116+
gem install openssl
117+
118+
Or by adding it to your Gemfile:
119+
120+
# file: Gemfile
121+
gem "openssl"
122+
123+
[openssl-gem]: https://github.com/ruby/openssl
124+
125+
111126
## Documentation
112127

113128
[Please see the http.rb wiki][documentation]

0 commit comments

Comments
 (0)