Skip to content

Commit

Permalink
Add OpenSSL requirement details for jRuby
Browse files Browse the repository at this point in the history
/cc @tarcieri Probably we should just add dependency on gem itself?
  • Loading branch information
ixti committed Dec 27, 2020
1 parent 42e30d1 commit f8dfb38
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f8dfb38

Please sign in to comment.