File tree Expand file tree Collapse file tree 5 files changed +13
-27
lines changed
Expand file tree Collapse file tree 5 files changed +13
-27
lines changed Original file line number Diff line number Diff line change 22
33source "https://rubygems.org"
44
5- gem "js" , "~> 2.4.1.pre.1 " unless ENV [ "JS" ] == "false"
6- gem "ruby_wasm" , github : "ruby/ruby.wasm "
5+ gem "js" , "~> 2.5 " unless ENV [ "JS" ] == "false"
6+ gem "ruby_wasm" , "~> 2.5 "
77gem "ruby-next" , "~> 1.0"
Original file line number Diff line number Diff line change 1- GIT
2- remote: https://github.com/ruby/ruby.wasm.git
3- revision: 95255203f208e18e6356be6a898e55f2002b49ec
4- specs:
5- ruby_wasm (2.4.1 )
6-
71GEM
82 remote: https://rubygems.org/
93 specs:
104 ast (2.4.2 )
115 diff-lcs (1.5.0 )
12- js (2.4.1.pre.1 )
6+ js (2.5.0 )
137 paco (0.2.3 )
14- parser (3.3.0.4 )
8+ parser (3.3.0.5 )
159 ast (~> 2.4.1 )
1610 racc
1711 racc (1.7.3 )
1812 require-hooks (0.2.2 )
19- ruby-next (1.0.0 )
13+ ruby-next (1.0.1 )
2014 paco (~> 0.2 )
2115 require-hooks (~> 0.2 )
22- ruby-next-core (= 1.0.0 )
16+ ruby-next-core (= 1.0.1 )
2317 ruby-next-parser (>= 3.2.2.0 )
2418 unparser (~> 0.6.0 )
25- ruby-next-core (1.0.0 )
19+ ruby-next-core (1.0.1 )
2620 ruby-next-parser (3.2.2.0 )
2721 parser (>= 3.0.3.1 )
22+ ruby_wasm (2.5.0 )
23+ ruby_wasm (2.5.0-aarch64-linux )
24+ ruby_wasm (2.5.0-arm64-darwin )
25+ ruby_wasm (2.5.0-x86_64-linux )
2826 unparser (0.6.12 )
2927 diff-lcs (~> 1.3 )
3028 parser (>= 3.2.2.4 )
@@ -36,9 +34,9 @@ PLATFORMS
3634 x86_64-linux
3735
3836DEPENDENCIES
39- js (~> 2.4.1.pre.1 )
37+ js (~> 2.5 )
4038 ruby-next (~> 1.0 )
41- ruby_wasm !
39+ ruby_wasm ( ~> 2.5 )
4240
4341BUNDLED WITH
4442 2.5.3
Original file line number Diff line number Diff line change @@ -6,13 +6,6 @@ Play with Ruby Next right in the browser (powered by [ruby.wasm](https://github.
66
77### Prerequisites
88
9- - Install [ wasi-vfs] ( https://github.com/kateinoigakukun/wasi-vfs ) :
10-
11- ``` sh
12- brew tap kateinoigakukun/wasi-vfs https://github.com/kateinoigakukun/wasi-vfs.git
13- brew install kateinoigakukun/wasi-vfs/wasi-vfs
14- ```
15-
169- Install Rust toolchain:
1710
1811 ``` sh
Original file line number Diff line number Diff line change 11require "/bundle/setup"
22
3- # Make gem no-op
4- define_singleton_method ( :gem ) { |*| nil }
5-
63require "ruby-next/language"
74
85SOURCE = <<~'RUBY'
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ export default async function initVM() {
1818 vm . eval ( `
1919 require "/bundle/setup"
2020 require "rubygems"
21- # Make gem no-op
22- define_singleton_method(:gem) { |*| nil }
2321
2422 require "js"
2523
You can’t perform that action at this time.
0 commit comments