Using Groovy with JRuby

Does anyone know if it is possible to use Groovy with JRuby? If yes,
how? My end goal is to use RSpec via JRuby to test a Groovy application.
Thanks.

-Dan

Dan K. wrote in post #1002126:

Does anyone know if it is possible to use Groovy with JRuby? If yes,
how? My end goal is to use RSpec via JRuby to test a Groovy application.
Thanks.

-Dan

I’ve found that yes one can use Rspec via JRuby to test Java & Groovy
apps.

You need to set $CLASSPATH in your ruby scripts and when dealing with
Groovy you’ll need to handle syntax discrepancies by using the
underlying implementations, i.e. ArrayList instead of List.

-Dan