Skip to content

Commit

Permalink
Fixed failing setup for docs CI
Browse files Browse the repository at this point in the history
The augeas Ruby gem 0.5.0 from rubygems.org is not compatible with Ruby 3.3
but the preinstalled RPM package is patched in OBS.
Confugure the bundler to use the system gems.

Copied from fac8bb6 by lslezak

And install rubygem(ruby-augeas) as RPM
  • Loading branch information
mvidner committed Oct 1, 2024
1 parent 714bd65 commit 5784538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install Ruby development files and XML tooling
run: zypper --non-interactive install --no-recommends
gcc gcc-c++ make libopenssl-devel ruby-devel augeas-devel diff
libxslt-devel libxml2-devel xmlstarlet
libxslt-devel libxml2-devel xmlstarlet 'rubygem(ruby-augeas)'

- name: Cache RubyGems
uses: actions/cache@v3
Expand All @@ -64,7 +64,7 @@ jobs:
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: 1
run: |
bundle config set --local path 'vendor/bundle'
bundle config set --local disable_shared_gems 0
bundle install
working-directory: ./service

Expand Down

0 comments on commit 5784538

Please sign in to comment.