chef icon indicating copy to clipboard operation
chef copied to clipboard

Compile unf_ext gem from source

Open johnmccrae opened this issue 3 years ago • 2 comments

Description

unf_ext 0.0.8.2 does not compile on Windows when loaded from rubygems. JSnapp found a workaround by compiling from source. We add that below and removed the dependency on 0.0.8.1 we added into Gemfile.

Related Issue

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have run the pre-merge tests locally and they pass.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.
  • [ ] All commits have been signed-off for the Developer Certificate of Origin. Pre-compiled unf_ext gem in rubygems.org has broken ruby version constraints which prevent it from installing in ruby 3.1.1 on 64 bit Windows so we need to install it from source until the issue is resolved. reference: knu/ruby-unf_ext#66

Signed-off-by: Jeremiah Snapp [email protected]

johnmccrae avatar May 31 '22 23:05 johnmccrae

Let's also squash these commits

marcparadise avatar Jun 07 '22 19:06 marcparadise

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jun 07 '22 21:06 sonarqubecloud[bot]

This is no longer relevant as the gem has updated and chef is compiling without this update

johnmccrae avatar Oct 05 '22 10:10 johnmccrae