Skip to content

Commit

Permalink
gem openssl 3.0.1 install to be consistent with ruby 3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Powell <thomas.powell@progress.com>
  • Loading branch information
tpowell-progress committed Mar 19, 2024
1 parent 842b603 commit 4ca0cb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/software/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,9 @@
if version.satisfies?("< 3.1") &&
project.overrides[:openssl] &&
ChefUtils::VersionString.new(project.overrides[:openssl][:version]).satisfies?(">= 3.0")
command "curl https://rubygems.org/downloads/openssl-3.2.0.gem --output openssl-3.2.0.gem"
command "#{install_dir}/embedded/bin/gem install openssl-3.2.0.gem --no-document"
# use the same version as ruby 3.1.3 version has as default, so that the chef gemfile is just redundant
command "curl https://rubygems.org/downloads/openssl-3.0.1.gem --output openssl-3.0.1.gem"
command "#{install_dir}/embedded/bin/gem install openssl-3.0.1.gem --no-document"
end

if windows?
Expand Down

0 comments on commit 4ca0cb1

Please sign in to comment.