spec/appbundler/app_spec.rb in appbundler-0.13.2 vs spec/appbundler/app_spec.rb in appbundler-0.13.4
- old
+ new
@@ -118,9 +118,15 @@
it "generates code to override GEM_HOME and GEM_PATH (e.g., rvm)" do
expected = <<~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