Subject: [bug#51063] [PATCH] gnu: ruby-eventmachine: Add openssl input.

From: Stephen Paul Weber <[email-masked]>
Date: Wed, 6 Oct 2021 12:55:56 -0500

While EventMachine will build without openssl present, attempting to use it to
make any TLS-secured connections will crash at runtime, which is not very
useful.  This allows the build system to find and link OpenSSL and thus TLS will
work at runtime.

* gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.
---
 gnu/packages/ruby.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8db5bd9158..58c6df5260 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8730,6 +8730,8 @@ application.")
     (build-system ruby-build-system)
     (arguments
      '(#:tests? #f))               ; test suite tries to connect to google.com
+    (inputs
+     `(("openssl" ,openssl)))
     (native-inputs
      `(("ruby-rake-compiler" ,ruby-rake-compiler)))
     (synopsis "Single-threaded network event framework for Ruby")
-- 
2.20.1