Skip to content

Fix locate gemfile/6510#6513

Open
Wl0cKk wants to merge 5 commits into
solidusio:mainfrom
Wl0cKk:fix-locate-gemfile/6510
Open

Fix locate gemfile/6510#6513
Wl0cKk wants to merge 5 commits into
solidusio:mainfrom
Wl0cKk:fix-locate-gemfile/6510

Conversation

@Wl0cKk

@Wl0cKk Wl0cKk commented Jul 9, 2026

Copy link
Copy Markdown

Summary

The tested solution of #6510
Based on PR - #6511
6511 is not ready, I ran into some issues while validating PR 6511
All the errors in that PR are shown in the screenshots in comments section.

My Solution is fixing all related issues with building on Fedora with SELinux set to "enforced"
with dependencies and safe.directory (git)

telegram-cloud-photo-size-4-5942527041947241768-y

Also satisfy rails version 7.1 -> 7.2

Also -
image

In projects of this scale, Gemfile.lock should be excluded from .gitignore to prevent future errors; I will be opening an issue regarding this problem shortly.

At this moment, no issues, and PR is ready!

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

jarednorman and others added 5 commits July 3, 2026 11:27
On SELinux-enforcing hosts (e.g. Fedora, RHEL) running podman, bind
mounts without the "z" label are blocked by SELinux, so the project
directory appears empty inside the container and bundler exits with
"Could not locate Gemfile". The label is a no-op where SELinux is not
enforcing, so this is safe for Docker users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants