You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original test failure (before I added the workaround) was due to ERB#result raising LocalJumpError: no block given (yield). The tests all pass on CRuby >= 2.7.
The text was updated successfully, but these errors were encountered:
There is currently a bug in TruffleRuby ([truffleruby#3285][]) wherein
`Kernel#binding` does not capture a given anonymous block, which breaks
`yield` calls evaluated using that binding. This bug is preventing us
from extending our rendering API.
Furthermore, this bug was caught by a test unit for said API extension,
but our views themselves aren't tested by CI. So if such a `yield` call
were added to a view, CI would still pass but the `sdoc` command would
be broken when using TruffleRuby.
Also, Rails itself does not officially support TruffleRuby.
Considering all of the above, this commit removes TruffleRuby from CI.
[truffleruby#3285]: oracle/truffleruby#3285
@eregon Continuing from rails/sdoc#314 (comment)...
Here is a reproduction stripped down from rails/sdoc#314:
The original test failure (before I added the workaround) was due to
ERB#result
raisingLocalJumpError: no block given (yield)
. The tests all pass on CRuby >= 2.7.The text was updated successfully, but these errors were encountered: