I've been trying to run some tests with Ruboto during the past week in order to determine if Ruboto is a feasible complement to our - currently in development - RubyMotion application. Unfortunately, even the default application takes about a minute and a half to start up on the emulator; making testing applications basically impossible (or at least extremely slow).Does any of you have experienced the same problem and - if so - what did you do to work around this (or even solve it).
-- Jeroen Bulters
On Feb 4, 2013 8:49 AM, "Robin2" <robin...@gmail.com> wrote:
>
> Have you considered writing a short Ruboto app that will run scripts from the sdcard (like SL4A does). That way you could do the development without reloading the .apk every time you make a change to the code. Then when it works you could absorb it into Ruboto proper ???
>
That is what IRB does. The trick then becomes where to edit scripts. Here are the options:
1) On the device (painful, but better with a bluetooth keyboard)
2) Push or pull them over to the device (adb, dropbox, etc.)
3) Use the demo-irb-server script to test out small sections of code, and to edit and run larger scripts.
I often find myself using AIDE to compile and run my ruboto app (synced through Dropbox) on the device. I then develop it in IRB and have a small script that copies the latest scripts to the AIDE project when I want to try the standalone version.