diff --git a/config/software/ruby.rb b/config/software/ruby.rb index 2912394f2..558c8f7ae 100644 --- a/config/software/ruby.rb +++ b/config/software/ruby.rb @@ -337,6 +337,8 @@ fips_env = fips_mode? ? env.merge({ "OPENSSL_FIPS" => "1" }) : env command "git clone https://github.com/ruby/openssl.git", cwd: "#{install_dir}" + # Checkout the specific tag for version 3.2.0 + command "cd #{install_dir}/openssl && git checkout tags/v3.2.0" command "gem build openssl.gemspec", cwd: "#{install_dir}/openssl" command "gem install openssl-#{openssl_gem_version}.gem --no-document -- --with-openssl-dir=#{install_dir}/embedded", env: fips_env, cwd: "#{install_dir}/openssl"