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

Learn how to test in Fedora against system/RPM gem dependencies #113

Open
apjanke opened this issue Jan 6, 2024 · 1 comment
Open

Learn how to test in Fedora against system/RPM gem dependencies #113

apjanke opened this issue Jan 6, 2024 · 1 comment
Assignees
Labels
help wanted Extra attention is needed packaging
Milestone

Comments

@apjanke
Copy link
Owner

apjanke commented Jan 6, 2024

Learn how to test on Fedora against gems (nokogiri, mustache, etc) installed with the Fedora-distributed RPMs instead of using bundler. So we can test how ronn will run in the context of the RPM-supplied dependencies, like how it will when Fedora builds it as an RPM. Without having to figure out how to mimic the RPM builds of gems in installations to our rbenv Rubies.

Installing the RPM deps is easy enough, but I don't know how to load them in to the ruby execution for ronn. Learn how to do that. Have a look at the stuff in the existing RPM package for ronn-ng.

Follows up discussion in #102 and #107.

Work for this is on branch WIP/fedora-testing.

@apjanke apjanke added this to ronn-ng Jan 6, 2024
@github-project-automation github-project-automation bot moved this to Needs triage in ronn-ng Jan 6, 2024
@apjanke apjanke self-assigned this Jan 6, 2024
@apjanke apjanke added the help wanted Extra attention is needed label Jan 6, 2024
@apjanke
Copy link
Owner Author

apjanke commented Jan 6, 2024

Looks like you don't need to do anything to load the gems installed via RPMs; they're just available by default in the system ruby. So you can just install those and then run rake test without the bundle exec part. Tried that now on Fedora 39 and it's passing. Added notes about it to the doco in the repo at dd2ceeb.

@apjanke apjanke added this to the 0.11.0 milestone Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed packaging
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant