Commit 02e51b1
committed
Ignore warnings from
With the latest `wasm-wasi`, the following warnings are shown on TryRuby.
```
`RubyGems' were not loaded.
`error_highlight' was not loaded.
`did_you_mean' was not loaded.
`syntax_suggest' was not loaded.
```
This warnings come from `gem_prelude.rb`.
https://github.com/ruby/ruby/blob/master/gem_prelude.rb
I assume this this is because the current usage of `ruby.wasm`
on TryRuby don't consider RubyGems and fails to load it.
We should change the structure of how to use `ruby.wasm` for fixing
this. But, this is just warnings and there are no other issues.
And, it seems that this warnings would not be shown in Ruby 3.5
ruby/ruby@4e303fd
ruby/ruby@e9dadf1
So I fixed to just silence those warnings.gem_prelude
1 parent c6b7e13 commit 02e51b1
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
455 | 462 | | |
456 | 463 | | |
457 | 464 | | |
| 465 | + | |
458 | 466 | | |
459 | 467 | | |
460 | 468 | | |
461 | 469 | | |
462 | 470 | | |
463 | 471 | | |
464 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
465 | 483 | | |
466 | 484 | | |
467 | 485 | | |
0 commit comments