Package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed

Problem:
When i try to install foreman in centos 8 by following this document im faching this kind of error

2021-06-03 00:56:42 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-postgresql’ returned 1: Error:
2021-06-03 00:56:42 [ERROR ] [configure] Problem: package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package foreman-postgresql-2.4.0-1.el8.noarch requires foreman = 2.4.0-1.el8, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:42 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:42 [ERROR ] [configure] /Stage[main]/Foreman::Install/Package[foreman-postgresql]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-postgresql’ returned 1: Error:
2021-06-03 00:56:42 [ERROR ] [configure] Problem: package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package foreman-postgresql-2.4.0-1.el8.noarch requires foreman = 2.4.0-1.el8, but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:42 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:42 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:43 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-service’ returned 1: Error:
2021-06-03 00:56:43 [ERROR ] [configure] Problem: package foreman-service-2.4.0-1.el8.noarch requires rubygem(puma) >= 5.1, but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - package foreman-service-2.4.0-1.el8.noarch requires rubygem(puma) < 6.0, but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - package rubygem-puma-5.1.1-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:43 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:43 [ERROR ] [configure] /Stage[main]/Foreman::Install/Package[foreman-service]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-service’ returned 1: Error:
2021-06-03 00:56:43 [ERROR ] [configure] Problem: package foreman-service-2.4.0-1.el8.noarch requires rubygem(puma) >= 5.1, but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - package foreman-service-2.4.0-1.el8.noarch requires rubygem(puma) < 6.0, but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - package rubygem-puma-5.1.1-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:43 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:43 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:44 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-dynflow-sidekiq’ returned 1: Error:
2021-06-03 00:56:44 [ERROR ] [configure] Problem: package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package foreman-dynflow-sidekiq-2.4.0-1.el8.noarch requires foreman = 2.4.0-1.el8, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:44 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:44 [ERROR ] [configure] /Stage[main]/Foreman::Install/Package[foreman-dynflow-sidekiq]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-dynflow-sidekiq’ returned 1: Error:
2021-06-03 00:56:44 [ERROR ] [configure] Problem: package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package foreman-dynflow-sidekiq-2.4.0-1.el8.noarch requires foreman = 2.4.0-1.el8, but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:44 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:44 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:44 [NOTICE] [configure] 100 out of 1944 done.
2021-06-03 00:56:44 [NOTICE] [configure] 200 out of 1944 done.
2021-06-03 00:56:46 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install katello’ returned 1: Error:
2021-06-03 00:56:46 [ERROR ] [configure] Problem: package rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch requires rubygem(qpid_proton), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package katello-4.0.1-1.el8.noarch requires rubygem-katello, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-katello-4.0.0-1.el8.noarch requires ruby < 2.7.0, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-katello-4.0.1.1-1.el8.noarch requires ruby < 2.7.0, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-qpid_proton-0.34.0-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-qpid_proton-0.32.0-2.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.5.5-106.module_el8.3.0+571+bab7c6bc.i686 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.6.3-106.module_el8.1.0+249+93480f15.i686 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.6.3-106.module_el8.1.0+249+93480f15.x86_64 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] /Stage[main]/Katello/Package[katello]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install katello’ returned 1: Error:
2021-06-03 00:56:46 [ERROR ] [configure] Problem: package rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch requires rubygem(qpid_proton), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package katello-4.0.1-1.el8.noarch requires rubygem-katello, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-katello-4.0.0-1.el8.noarch requires ruby < 2.7.0, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-katello-4.0.1.1-1.el8.noarch requires ruby < 2.7.0, but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-qpid_proton-0.34.0-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - package rubygem-qpid_proton-0.32.0-2.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:46 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.5.5-106.module_el8.3.0+571+bab7c6bc.i686 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.6.3-106.module_el8.1.0+249+93480f15.i686 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-2.6.3-106.module_el8.1.0+249+93480f15.x86_64 is filtered out by modular filtering
2021-06-03 00:56:46 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:47 [NOTICE] [configure] 300 out of 1944 done.
2021-06-03 00:56:48 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-proxy’ returned 1: Error:
2021-06-03 00:56:48 [ERROR ] [configure] Problem: package foreman-proxy-2.4.0-1.el8.noarch requires rubygem(rkerberos) >= 0.1.1, but none of the providers can be installed
2021-06-03 00:56:48 [ERROR ] [configure] - package rubygem-rkerberos-0.1.5-19.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:48 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:48 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:48 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-proxy’ returned 1: Error:
2021-06-03 00:56:48 [ERROR ] [configure] Problem: package foreman-proxy-2.4.0-1.el8.noarch requires rubygem(rkerberos) >= 0.1.1, but none of the providers can be installed
2021-06-03 00:56:48 [ERROR ] [configure] - package rubygem-rkerberos-0.1.5-19.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:48 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:48 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:49 [NOTICE] [configure] 400 out of 1944 done.
2021-06-03 00:56:50 [NOTICE] [configure] 500 out of 1944 done.
2021-06-03 00:56:51 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-cli’ returned 1: Error:
2021-06-03 00:56:51 [ERROR ] [configure] Problem: package foreman-cli-2.4.0-1.el8.noarch requires rubygem(hammer_cli_foreman), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-0.1.pre.develop.20210126162233git28331a3.el8.noarch requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-0.1.pre.develop.20210126162233git28331a3.el8.noarch requires rubygem(hammer_cli) >= 2.3.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-1.el8.noarch requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-1.el8.noarch requires rubygem(hammer_cli) >= 2.4.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli-2.4.0-0.1.pre.develop.20210126084718git6b192a9.el8.noarch requires rubygem(unicode), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli-2.4.0-1.el8.noarch requires rubygem(unicode), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-unicode-0.4.4.4-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:51 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:51 [ERROR ] [configure] /Stage[main]/Foreman::Cli/Package[foreman-cli]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install foreman-cli’ returned 1: Error:
2021-06-03 00:56:51 [ERROR ] [configure] Problem: package foreman-cli-2.4.0-1.el8.noarch requires rubygem(hammer_cli_foreman), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-0.1.pre.develop.20210126162233git28331a3.el8.noarch requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-0.1.pre.develop.20210126162233git28331a3.el8.noarch requires rubygem(hammer_cli) >= 2.3.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-1.el8.noarch requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli_foreman-2.4.0-1.el8.noarch requires rubygem(hammer_cli) >= 2.4.0, but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli-2.4.0-0.1.pre.develop.20210126084718git6b192a9.el8.noarch requires rubygem(unicode), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-hammer_cli-2.4.0-1.el8.noarch requires rubygem(unicode), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - package rubygem-unicode-0.4.4.4-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:51 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:51 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:51 [NOTICE] [configure] 600 out of 1946 done.
2021-06-03 00:56:51 [NOTICE] [configure] 700 out of 1946 done.
2021-06-03 00:56:51 [NOTICE] [configure] 800 out of 1948 done.
2021-06-03 00:56:53 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-foreman-tasks’ returned 1: Error:
2021-06-03 00:56:53 [ERROR ] [configure] Problem: package rubygem-foreman-tasks-4.0.1-1.fm2_4.el8.noarch requires foreman >= 2.2.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc2.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc2.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc3.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc3.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:53 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:53 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Tasks/Foreman::Plugin[tasks]/Package[rubygem-foreman-tasks]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-foreman-tasks’ returned 1: Error:
2021-06-03 00:56:53 [ERROR ] [configure] Problem: package rubygem-foreman-tasks-4.0.1-1.fm2_4.el8.noarch requires foreman >= 2.2.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc2.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc2.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc3.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-0.4.rc3.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) >= 3.1, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package foreman-2.4.0-1.el8.noarch requires rubygem(bcrypt) < 4.0, but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - package rubygem-bcrypt-3.1.12-3.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:53 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:53 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:53 [NOTICE] [configure] 900 out of 1949 done.
2021-06-03 00:56:53 [NOTICE] [configure] 1000 out of 1951 done.
2021-06-03 00:56:54 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-foreman_remote_execution’ returned 1: Error:
2021-06-03 00:56:54 [ERROR ] [configure] Problem: package rubygem-deface-1.5.3-2.el8.noarch requires rubygem(nokogiri) >= 1.6, but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - package rubygem-foreman_remote_execution-4.3.0-1.fm2_4.el8.noarch requires rubygem(deface), but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - package rubygem-nokogiri-1.10.9-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:54 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering
2021-06-03 00:56:54 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Remote_execution/Foreman::Plugin[remote_execution]/Package[rubygem-foreman_remote_execution]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-foreman_remote_execution’ returned 1: Error:
2021-06-03 00:56:54 [ERROR ] [configure] Problem: package rubygem-deface-1.5.3-2.el8.noarch requires rubygem(nokogiri) >= 1.6, but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - package rubygem-foreman_remote_execution-4.3.0-1.fm2_4.el8.noarch requires rubygem(deface), but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - package rubygem-nokogiri-1.10.9-1.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
2021-06-03 00:56:54 [ERROR ] [configure] - cannot install the best candidate for the job
2021-06-03 00:56:54 [ERROR ] [configure] - package ruby-libs-2.5.5-106.module_el8.3.0+571+bab7c6bc.x86_64 is filtered out by modular filtering

Document link: Installing Foreman 2.4 server with Katello 4.0 plugin on Enterprise Linux
Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

You followed the nightly guide, which has a very misleading title “Foreman 2.4”. Those instructions are really for what will become Foreman 2.6.

The problem is that nightly switched to Ruby 2.7 but 2.4 is on 2.5 which causes the problems.

You should follow https://docs.theforeman.org/2.4.html.

I opened a PR to fix this: