Ruby & JVM: A (JRuby) Love Story
summary
Compares CRuby vs JRuby compatibility (latest JRuby targets Ruby 2.6 and older) and walks through building production debugger support: hit a blocking gem install bug fixed by bundle config set force_ruby_platform false, discover TracePoint on JRuby rejects tracepoint.enable lacks target arg, then switch to a Java agent + Transformer approach that works once JRuby compiles hot code (interpretation vs JIT vs compilation); collecting locals returns many temp-named variables that require parsing, but a working breakpoint-and-variable inspector is ultimately implemented.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:45What is JRuby
- 2:45Should we use JRuby
- 5:10Advantages of JRuby
- 7:10The Task
- 8:20The Sample App
- 9:00The Bug
- 10:20Running an App
- 11:30Adding a Break Point
- 14:00Java Agent
- 21:15Collecting Data
- 24:50Conclusion








