You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.
After Build completes successfully, but the Pod continuously crashes with the following error:
You might consider adding 'puma' into your Gemfile.
ERROR: Rubygem Rack is not installed in the present image.
Add rack to your Gemfile in order to start the web server.
I'm a novice at Openshift so I don't have much else to provide. I know next to nothing about Ruby but perhaps the Gemfile or Rakefile need to be updated to include the Rack gem?
The text was updated successfully, but these errors were encountered:
@rwaffen, thank you for your attention to this. The pre-built image doesn't work, either probably because of OpenShift's requirement that pods run as a non-root, random-ish UID. I'm working on a fix for that as well, but my OS knowledge is lacking.
I got past these errors by adding puma and rack to the Gemfile but I don't know how that affects builds on non-OpenShift platforms. Is there a way in the Gemfile to do something like:
if $BUILDENVIRONMENT = 'OPENSHIFT' then
include gem rack
include gem puma
end
In Red Hat Openshift 4.1, the puppetdb pod crashes after a successful build.
Steps I used to produce:
After Build completes successfully, but the Pod continuously crashes with the following error:
I'm a novice at Openshift so I don't have much else to provide. I know next to nothing about Ruby but perhaps the Gemfile or Rakefile need to be updated to include the Rack gem?
The text was updated successfully, but these errors were encountered: