News for hackers. Stuff that matters.
Re:JRuby with JBang by kitd on Monday December 23, 2024 @03:34AM (#42492826)
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/de...

Re:JRuby with JBang by maxandersen on Monday December 23, 2024 @03:43AM (#42492879)
Yes.

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.