Issue forman-proxy will not start

Problem:

Traceback (most recent call last):
	12: from ./smart-proxy:5:in `<main>'
	11: from /opt/rh/rh-ruby25/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	10: from /opt/rh/rh-ruby25/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	 9: from /usr/share/foreman-proxy/lib/smart_proxy_main.rb:31:in `<top (required)>'
	 8: from /usr/share/foreman-proxy/lib/bundler_helper.rb:22:in `require_groups'
	 7: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
	 6: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
	 5: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:19:in `block in system_require'
	 4: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `system_require'
	 3: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `each'
	 2: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:39:in `block in system_require'
	 1: from /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:46:in `rescue in block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/output.rb:13:in `strict_err': Gem loading error: cannot load such file -- smart_proxy_dns_dnsmasq (RuntimeError)

Expected outcome:

Foreman and Proxy versions:
foreman-proxy-2.4.0-1
Foreman and Proxy plugin versions:

Distribution and version:foreman-debug-P5YRN.tar.gz (2.3 MB)

Other relevant data:

Looks like it can’t load smart_proxy_dns_dnsmasq. Is that plugin installed? If so, is it incorrectly installed?

How did you install it? It’s highly recommended to only use RPMs.

Yes Ekohl it was having issues with loading the `smart_proxy_dns_dnsmasq plugin
what I had to do was edit the Gemfile.local.rb and remove the entry for smart_proxy_dns_dnsmasq then it worked
this issue is resolved
TLDR
check the Gemfile.local.rb to make sure it is not trying to load a plugin