19 Aug
2026
19 Aug
'26
4:31 p.m.
Issue #22252 has been reported by getajobmike (Mike Perham). ---------------------------------------- Bug #22252: improve "defined with an un-shareable Proc in a different Ractor" error https://bugs.ruby-lang.org/issues/22252 * Author: getajobmike (Mike Perham) * Status: Open * ruby -v: 4.0.6 * Backport: 3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN ---------------------------------------- Hi, I'm trying to make my Ruby more compatible with Ractors. I'm seeing this error message but in an API with many abstractions, it can be difficult to determine the Proc in question. Would it be possible to include the source_location of the Proc to help improve debugging? -- https://bugs.ruby-lang.org/