2 ms·
I like that this works, but it would be nice if it could all be done in JRuby without the Java shim. It feels like adding a JRubySource here [0] shouldn't be
by kitd 2y ago
I like that this works, but it would be nice if it could all be done in JRuby without the Java shim.
It feels like adding a JRubySource here [0] shouldn't be too tricky. See the Kotlin one for an example.
[0] https://github.com/jbangdev/jbang/tree/main/src/main/java/dev/jbang/source/sources https://github.com/jbangdev/jbang/tree/main/src/main/java/de...
- maxandersen 2y agoYes. There are some extra trickery around ruby gems needing a virtual env to run reliably - but definitely open to adjust/provide needed hook in Jbang if not already present if anyone wants to take a stab at it.