lib/appbundler/app.rb in appbundler-0.13.2 vs lib/appbundler/app.rb in appbundler-0.13.4

- old
+ new

@@ -287,9 +287,15 @@ # exists to make tests run correctly on travis.ci (which uses rvm). def env_sanitizer <<~EOS require "rubygems" + # this works around OpenSSL FIPS fingerprint matching issue where + # it expects to be loaded in image base known at compile time. We + # load OpenSSL early so that the shared library gets loaded in its + # preferred image base address + require "openssl" + begin # this works around rubygems/rubygems#2196 and can be removed in rubygems > 2.7.6 require "rubygems/bundler_version_finder" rescue LoadError # probably means rubygems is too old or too new to have this class, and we don't care