TryRuby
TryRuby copied to clipboard
Support Ruby 3.4
This PR adds CRuby 3.4 and using it as default. This PR also bump js libraries to support CRuby 3.4. This PR includes the following commits.
- Ignore warnings from
gem_prelude. 02e51b1a2ceaf5b3b9d70bb3fa00b6f69b2d1bda- With the latest
wasm-wasi, the some warnings are shown. I assume this this is because the current usage ofruby.wasmon TryRuby don't consider RubyGems and fails to load it. 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. So I fixed to just silence those warnings.
- With the latest
- Add Ruby 3.4 error message format to check the answer correctly 2036eab6bb72f27a4b6df42f29eb3c060ca84bf8
- The error message format has changed in Ruby 3.4. I added the error message format to an answer to check an answer correctly.
- Add Ruby 3.4 hash format to check the answer correctly 17ce4588dfbffb06b6207b43f23af1b39ed37f8e
- In Ruby 3.4, the result of
Hash#inspecthas changed({:mediocre=>2}->{mediocre: 2}). I added the answer to match with the new format.
- In Ruby 3.4, the result of