Skip to content

Commit 70f47b7

Browse files
committed
Add openssl gem to Gemfile
In Ruby 3.2.9, the openssl gem is out of date. On MacOS with the latest OpenSSL, this breaks. This adds the gem to the gemfile so we don't break during builds. This doesn't affect the build itself, as it is due to OpenSSL 3.6 and we ship 3.0. This doesn't quite work on Windows, where we have no choice but to use Ruby 3.2.2 in Cygwin.
1 parent c12c736 commit 70f47b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ gem 'artifactory'
1414
gem 'vanagon', *location_for(ENV['VANAGON_LOCATION'] || 'https://github.com/openvoxproject/vanagon#main')
1515
gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.105')
1616
gem 'rake', '~> 13.0'
17+
# Need to update the openssl gem on MacOS to avoid SSL errors. Doesn't hurt to have the newest
18+
# for all platforms.
19+
# https://www.rubyonmac.dev/certificate-verify-failed-unable-to-get-certificate-crl-openssl-ssl-sslerror
20+
gem 'openssl' unless `uname -o`.chomp == 'Cygwin'
1721

1822
group(:development, optional: true) do
1923
gem 'highline', require: false

0 commit comments

Comments
 (0)