Bug #14433
closedError with Trailblazer Wrap using ruby 2.5.0
Description
I updated ruby to 2.5.0 and got such error when start server:
syntax error, unexpected '{', expecting keyword_end (SyntaxError) ....transaction { block.call } } {.
I commented Wrap block and error disappered. I think it's because of changes in ruby blocks but I'm not sure.
Files
Updated by k0kubun (Takashi Kokubun) almost 7 years ago
- Is duplicate of Bug #14023: SyntaxError on array argument and block added
Updated by k0kubun (Takashi Kokubun) almost 7 years ago
- Status changed from Open to Third Party's Issue
Please quote the actual line in the library to report an issue.
Anyway, I guess (just guess, because we can't figure out the actual problem from your report) it looks the same as https://bugs.ruby-lang.org/issues/14023. If so, Trailblazer should fix the line.
Updated by Unroot (Vladisalv Volkov) over 6 years ago
k0kubun (Takashi Kokubun) wrote:
Please quote the actual line in the library to report an issue.
Anyway, I guess (just guess, because we can't figure out the actual problem from your report) it looks the same as https://bugs.ruby-lang.org/issues/14023. If so, Trailblazer should fix the line.
I use Wrap in a such way:
Updated by Unroot (Vladisalv Volkov) over 6 years ago
- File Снимок экрана от 2018-02-08 16-02-31.png added
Updated by Unroot (Vladisalv Volkov) over 6 years ago
- File deleted (
Снимок экрана от 2018-02-08 16-02-31.png)