Commit d28ed47
committed
Make bundled-gem extensions available to make html
After the rdoc bump in b5e6e0a, `tool/rdoc-srcdir` activates
rdoc which declares `add_dependency 'rbs', '>= 4.0.0'`. Two
issues blocked that activation on a clean tree:
1. tool/lib/bundled_gem.rb wrote gemspecs for C-extension
bundled gems into .bundle/gems/<gem>/ instead of
.bundle/specifications/, so RubyGems could not find rbs.
Drop the branch and always publish to specifications/; the
parallel .bundled.<gem>.gemspec files were only consumed by
ext/extmk.rb's gemspec-copy rule and outdate-bundled-gems.rb's
existence check, both removed here.
2. ext/configure-ext.mk was generated before prepare-gems
populated .bundle/gems/, so template/configure-ext.mk.tmpl's
`Dir.glob(".bundle/gems/**/extconf.rb")` found nothing and
exts.mk lacked rules for bundled-gem extensions; rbs never
compiled and RubyGems skipped its spec with
"Ignoring rbs-4.0.2 because its extensions are not built."
Add prepare-gems to configure-ext.mk's prerequisites.
https://claude.ai/code/session_01YRoRyZPew2LtN6u6BX8bzx1 parent b5e6e0a commit d28ed47
4 files changed
Lines changed: 5 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | 604 | | |
618 | 605 | | |
619 | 606 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 77 | + | |
| 78 | + | |
86 | 79 | | |
87 | 80 | | |
88 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
0 commit comments