Skip to content

Commit 81eeff7

Browse files
committed
readme: update build and server start commands
1 parent 4990a8b commit 81eeff7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ Play with Ruby Next right in the browser (powered by [ruby.wasm](https://github.
2020

2121
### Building ruby.wasm
2222

23-
The following command works for me:
23+
Use the following command:
2424

2525
```sh
26-
LDFLAGS='-L/opt/homebrew/opt/ruby/lib' bundle exec rbwasm build -o src/ruby.wasm --ruby-version 3.2
26+
bundle exec rbwasm build -o src/ruby.wasm --ruby-version 3.2
2727
```
2828

29-
Looks like compiling Ruby relies on the hardcoded `/usr/local/opt/ruby/lib` path for linking. So, we need to provie the correct way to Ruby (and, I guess, the versions must match).
30-
3129
This would build a JS-compatible WASM module. To build JS-free WASM module, use the `JS=false` env var.
3230

3331
### Testing
@@ -45,7 +43,7 @@ First, install JS deps (`yarn install`).
4543
Then, run a web server:
4644

4745
```sh
48-
yarn serve
46+
yarn dev
4947
```
5048

5149
Go to [localhost:8000](http://localhost:8000) and see it in action!

0 commit comments

Comments
 (0)