Skip to content

splhack/android-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 

Ruby for Android

Now support cupcake (Android 1.5)

irbapp.apk includes libruby.so

additional ruby scripts and shared libraries in /sdcard/ruby.

and, native ruby command

ruby: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
  dynamically linked (uses shared libs), stripped

Screenshot

How to build

Follow http://source.android.com/download

Build android-ruby

$ cd android-ruby
$ export TOP=$HOME/mydroid
$ . $TOP/build/envsetup.sh
$ mm

generated files

$TOP/out/target/product/generic/system/app/irbapp.apk    pseudo irb application with libruby.so
$TOP/out/target/product/generic/system/lib/ruby    ruby scripts and ext shared libraries
$TOP/out/target/product/generic/system/bin/cruby    native command

Layer