Commit 3391538
Fix Ruby 3.4 compatibility issue with method resolution in Configuration
Resolves NameError when calling ensure_webpack_generated_files_exists in Ruby 3.4.7.
The issue occurred because Ruby 3.4 is stricter about distinguishing between local
variables and method calls. When parameter names in the initialize method
(rsc_bundle_js_file, react_client_manifest_file, react_server_client_manifest_file)
shadowed the attr_accessor methods, Ruby 3.4's parser interpreted bare method calls
as undefined local variables.
Solution: Use public_send(:method_name) to explicitly call the accessor methods,
removing ambiguity for the Ruby 3.4 parser.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 017eb79 commit 3391538
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
330 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
0 commit comments