Question

Is it possible to write part of the Android app in Ruby and then, using JRuby and Android Tools, compile the code to run on Dalvik VM? I don't need any run-time support for interpreting Ruby code, just to run one Ruby module. It would be nice if the compiled code is minimal, to not drag along the entire Ruby standard library.

How to configure some IDE (like Eclipse) and Android Tools to support that?

Was it helpful?

Solution

See these/three/answers (on stackoverflow) regarding @CharlesOliverNutter 's Ruby-like Mirah language that runs on the Dalvik VM.

OTHER TIPS

Have a look at Ruboto.

Some time ago I was working on a debug lib for android that was using it but I got out of time. I looked at the ruboto-irb source code a lot.

The major downside I came up is that it needed to have ruboto installed on the device.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top