Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus.. But is 
hopefully inexpensive and very small. OF course it should have qwerty or 
dvorak or similar input sys.

-- 
Casimir Pohjanraito 
Art Portfolio: http://csmr.dreamhosters.com