Skip to content

Commit 4a47e8a

Browse files
committed
Fix failures on Fedora.
Install rubygem-json RPM package in Fedora container as it is used in rake. ``` LoadError: cannot load such file -- json /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/formatter/json_formatter.rb:3:in `require' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/formatter/json_formatter.rb:3:in `<top (required)>' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop.rb:524:in `require' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop.rb:524:in `<top (required)>' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/rake_task.rb:44:in `require' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/rake_task.rb:44:in `run_cli' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/rake_task.rb:36:in `run_main_task' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/rake_task.rb:28:in `block (2 levels) in initialize' /build/vendor/bundle/ruby/3.0.0/gems/rubocop-0.50.0/lib/rubocop/rake_task.rb:26:in `block in initialize' /build/vendor/bundle/ruby/3.0.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' ```
1 parent e5fbf05 commit 4a47e8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/Dockerfile_fedora

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ RUN dnf -yq install \
2020
redhat-rpm-config \
2121
ruby-devel \
2222
rubygem-bigdecimal \
23-
rubygem-bundler
23+
rubygem-bundler \
24+
rubygem-json
2425

2526
CMD bash ci/container.sh

0 commit comments

Comments
 (0)