Skip to content

Commit

Permalink
Fixed failing integration test in 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.
  • Loading branch information
lslezak committed Aug 30, 2024
1 parent 13014cd commit fac8bb6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ fi
sed -e '/gemspec/a gem "ruby-dbus", path: "/checkout-ruby-dbus"' -i Gemfile
fi

bundle config set --local path 'vendor/bundle'
if [ -n "$CI" ]; then
# in CI reuse the pre-installed system gems from RPMs
bundle config set --local disable_shared_gems 0
else
bundle config set --local path 'vendor/bundle'
fi

bundle install
)

Expand Down

0 comments on commit fac8bb6

Please sign in to comment.