And here is Ruby 1.8.4 for OpenWrt.
I guess it will soon be added to the /packages repository in subversion. If you can't wait apply the patch manually and build the binary by yourself with the SDK.
The hello world example on the shell.
hello-world.rb
ruby hello-world.rb
Hello, world!
Some more information (huge binary):
root@OpenWrt:~# ls -al /usr/bin/ruby
-rwxr-xr-x 1 root root 823151 Jan 6 2007 /usr/bin/ruby
root@OpenWrt:~# ldd /usr/bin/ruby
libdl.so.0 => /lib/libdl.so.0 (0x2aaee000)
libcrypt.so.0 => /lib/libcrypt.so.0 (0x2ab30000)
libm.so.0 => /lib/libm.so.0 (0x2ab84000)
libc.so.0 => /lib/libc.so.0 (0x2abcb000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
root@OpenWrt:~#
(Last edited by forum2006 on 7 Jan 2007, 02:15)