anchor.diff:                  $out/lib/libruby*
                 ${removeReferencesTo}/bin/remove-references-to \
                   -t ${stdenv.cc} \
  -                $out/${passthru.libPath}/${stdenv.hostPlatform.system}/rbconfig.rb
  +                $rbConfig
  +              sed -i '/CC_VERSION_MESSAGE/d' $rbConfig
               ''
             }
             # Bundler tries to create this directory
  
positive.code:           addEnvHooks "$hostOffset" addGemPath
            addEnvHooks "$hostOffset" addRubyLibPath
            EOF
  
            rbConfig=$(find $out/lib/ruby -name rbconfig.rb)
          '' + opString docSupport ''
            # Prevent the docs from being included in the closure
            sed -i "s|\$(DESTDIR)$devdoc|\$(datarootdir)/\$(RI_BASE_NAME)|" $rbConfig
  
negative.code:         installFlags = lib.optional docSupport "install-doc";
          # Bundler tries to create this directory
          postInstall = ''
            rbConfig=$(find $out/lib/ruby -name rbconfig.rb)
            # Remove unnecessary groff reference from runtime closure, since it's big
            sed -i '/NROFF/d' $rbConfig
            ${
              lib.optionalString (!jitSupport) ''
                # Get rid of the CC runtime dependency
  