Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add how to handle Ruby default gems to README #11119

Open
wants to merge 3 commits into
base: rpm/develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ depend on each other, `mockchain` can be very helpful. To do this use Obal `mock

copr-cli delete-package --name rubygem-example @theforeman/$PROJECT-nightly-staging

## Handle gems that are default Ruby gems

Look at https://stdgems.org/ and see if a gem is listed as a default gem. The website https://docs.ruby-lang.org/en/master/NEWS_md.html can also help in determining what will or is default and for what version of Ruby.
ehelms marked this conversation as resolved.
Show resolved Hide resolved

Use`%gemspec_remove_dep <GEM_NAME>` to drop the gem from the gemspec and manually add a dependency on ruby-default-gems as a rich dependency: `(rubygem(<GEM_NAME>) or ruby-default-gems < 3.4)`.
ehelms marked this conversation as resolved.
Show resolved Hide resolved

## How does this repo work?

This repo contains a directory per source package and configuration in `package_manifest.yaml`.
Expand Down