From c754527be2130148f7045197d4ed913d3c35b9ea Mon Sep 17 00:00:00 2001 From: jazairi <16103405+jazairi@users.noreply.github.com> Date: Mon, 3 Nov 2025 16:18:24 -0500 Subject: [PATCH] Add openssl to gemfile Why these changes are being introduced: The openssl gem is included in the Ruby standard library, but there is a [bug](https://github.com/ruby/openssl/issues/949) in the included version (`3.3.0`) that causes it to fail with OpenSSL 3.6.0. Relevant ticket(s): N/A. How this addresses that need: This includes the openssl gem in the Gemfile, thus installing the latest version rather than what is provided by standard Ruby. This is [recommended by openssl gem maintainers](https://github.com/ruby/openssl/issues/949#issuecomment-3381446772). Side effects of this change: This is something to remember for future perplexing bugs, because this issue could happen with any gem included in the Ruby standard library. --- Gemfile | 1 + Gemfile.lock | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 317b3125..2b9d3b3c 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,7 @@ gem 'http' gem 'importmap-rails' gem 'jbuilder' gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.4' +gem 'openssl' gem 'puma' gem 'rack-attack' gem 'rails', '~> 7.2.0' diff --git a/Gemfile.lock b/Gemfile.lock index 72625ff9..86357b9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -216,6 +216,7 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) + openssl (3.3.2) parallel (1.27.0) parser (3.3.9.0) ast (~> 2.4.1) @@ -418,6 +419,7 @@ DEPENDENCIES minitest-reporters mitlibraries-theme! mocha + openssl pg puma rack-attack