The final rpm used to deploy production should not contain test nor development dependencies. Specifically the bundle gems should not contain webrick, selenium ...
Example, the 'dashboard' Gemfile:
group :test do
gem "capybara"
# lock selenium as it doesn't work on ubuntu 22.04
# https://github.com/SeleniumHQ/selenium/issues/11291
gem "selenium-webdriver", '4.5.0'
gem "webrick"
end
However these gems show up here, for example: /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/selenium-webdriver-4.5.0/
The final rpm used to deploy production should not contain test nor development dependencies. Specifically the bundle gems should not contain webrick, selenium ...
Example, the 'dashboard' Gemfile:
However these gems show up here, for example:
/opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/selenium-webdriver-4.5.0/
I essentially installed on AlmaLinux8 as documented according the documentation: