Skip to content

Workaround build task issue in Ruby core CI #1326

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

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ruby-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,15 @@ jobs:
with:
path: ruby/rdoc
- name: Build RDoc locally
# The `build` task provided by `require 'bundler/gem_tasks'` seems to have a bug
# as described in https://github.com/rubygems/rubygems/issues/8477
# The manual `gem build` and `gem install` are used to work around this issue.
run: |
bundle install
gem build rdoc.gemspec
# This gem isn't used for generating Ruby documentation.
# This is just for fixing `pkg/rdoc-X.Y.Z.gem` path.
gem install rdoc-*.gem
bundle exec rake build:local_ruby
working-directory: ruby/rdoc
- name: Generate Documentation with RDoc
Expand Down
Loading