Here's a list of the things you should be able to do with JRuby in an OSGi container without much trouble:
- Run a script using either RedBridge or JSR 223.
- Evaluate a script which creates an object which implements an interface from another bundle.
- Use a rubygem packaged in a different bundle. ...more?