Commit 0c3d73a
committed
Fix cross-compile path nesting for native extensions
The compile.rake was adding the host Ruby version to ext.lib_dir while
extconf.rb added the target Ruby version, causing double nesting like
lib/code_ownership/4.0/3.2/code_ownership.so instead of the expected
lib/code_ownership/3.2/code_ownership.so.
This broke gem loading on Ruby 4.0 with "cannot load such file" errors.1 parent e48f77f commit 0c3d73a
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
0 commit comments