File tree 5 files changed +13
-27
lines changed
5 files changed +13
-27
lines changed Original file line number Diff line number Diff line change 2
2
3
3
source "https://rubygems.org"
4
4
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 "
7
7
gem "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
-
7
1
GEM
8
2
remote: https://rubygems.org/
9
3
specs:
10
4
ast (2.4.2 )
11
5
diff-lcs (1.5.0 )
12
- js (2.4.1.pre.1 )
6
+ js (2.5.0 )
13
7
paco (0.2.3 )
14
- parser (3.3.0.4 )
8
+ parser (3.3.0.5 )
15
9
ast (~> 2.4.1 )
16
10
racc
17
11
racc (1.7.3 )
18
12
require-hooks (0.2.2 )
19
- ruby-next (1.0.0 )
13
+ ruby-next (1.0.1 )
20
14
paco (~> 0.2 )
21
15
require-hooks (~> 0.2 )
22
- ruby-next-core (= 1.0.0 )
16
+ ruby-next-core (= 1.0.1 )
23
17
ruby-next-parser (>= 3.2.2.0 )
24
18
unparser (~> 0.6.0 )
25
- ruby-next-core (1.0.0 )
19
+ ruby-next-core (1.0.1 )
26
20
ruby-next-parser (3.2.2.0 )
27
21
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 )
28
26
unparser (0.6.12 )
29
27
diff-lcs (~> 1.3 )
30
28
parser (>= 3.2.2.4 )
@@ -36,9 +34,9 @@ PLATFORMS
36
34
x86_64-linux
37
35
38
36
DEPENDENCIES
39
- js (~> 2.4.1.pre.1 )
37
+ js (~> 2.5 )
40
38
ruby-next (~> 1.0 )
41
- ruby_wasm !
39
+ ruby_wasm ( ~> 2.5 )
42
40
43
41
BUNDLED WITH
44
42
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.
6
6
7
7
### Prerequisites
8
8
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
-
16
9
- Install Rust toolchain:
17
10
18
11
``` sh
Original file line number Diff line number Diff line change 1
1
require "/bundle/setup"
2
2
3
- # Make gem no-op
4
- define_singleton_method ( :gem ) { |*| nil }
5
-
6
3
require "ruby-next/language"
7
4
8
5
SOURCE = <<~'RUBY'
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ export default async function initVM() {
18
18
vm . eval ( `
19
19
require "/bundle/setup"
20
20
require "rubygems"
21
- # Make gem no-op
22
- define_singleton_method(:gem) { |*| nil }
23
21
24
22
require "js"
25
23
You can’t perform that action at this time.
0 commit comments