diff --git a/config/software/ruby.rb b/config/software/ruby.rb index 6bfb841ad..6453f33fd 100644 --- a/config/software/ruby.rb +++ b/config/software/ruby.rb @@ -336,10 +336,10 @@ # add OPENSSL_FIPS to the environment _if_ fips is active 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/3.2.0" - command "gem build openssl.gemspec", cwd: "#{install_dir}/openssl" + 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/3.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" command "#{install_dir}/embedded/bin/gem info openssl"