primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

ruby doesn't work on bun #64

Open terrablue opened 9 months ago

terrablue commented 9 months ago
1 | import { make_response, module, rubyvm, helpers }
2 |   from "@primate/binding/ruby";
3 | import { File } from "rcompat/fs";
4 |
5 | const { vm } = await rubyvm(module);
                                ^
ReferenceError: Cannot access uninitialized variable.
      at /home/blue/projects/primatejs/app/build/routes/rb/json.js:5:29
terrablue commented 4 months ago

https://github.com/oven-sh/bun/issues/12755