ruby bindings


i pre-released a Ruby extension for openFrameworks. if you are interested, please see:


* it runs only on Mac OSX now.

* sorry, the documentation is written in Japanese now. but, you will be able to check out the library and some example codes by doing as follows:

$ svn checkout []( rbof-read-only  

This is amazing! Warning to others: I was having issues with my ruby version, which is built from MacPorts:

[jamie@jdubtop ~/dev/rbof]$ ruby ex_image.rb   
./librbof.bundle: [BUG] Bus Error  
ruby 1.8.6 (2007-09-24) [i686-darwin9.2.2]  
[jamie@jdubtop ~/dev/rbof]$ ruby -v  
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.2]  

Default ruby binary is working great though! Not sure if it’s the universal build or the newer Darwin, but will look into it.

[jamie@jdubtop ~/dev/rbof]$ /usr/bin/ruby -v  
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]  

Uses WWW::Mechanize to scrape thumbnails from MySpace and render an ever-expanding slideshow of mind-blowing profile pics…-ideshow.rb

Just getting my feet wet… working great so far

I’m really excited about this!
I’ve been wanting a Ruby alternative to Processing (Ruby Processing is a nice achievement but it still feels too flimsy because of the Java)

C++ is way too tricky for me, so looking forward to playing with the power of OF via Ruby

Hi, I’ve just donwnloaded rbof and I am very keen to play with it but I don’t know how to install the bundle and the dynlib and where to put the ruby library so is accessible.

Please helps



donwloaded and tried rbof (google-code):

 ruby runme.rb   
./librbof.bundle: dlopen(./librbof.bundle, 9): no suitable image found.  Did find: (LoadError)  
        ./librbof.bundle: mach-o, but wrong architecture - ./librbof.bundle  
        from ./rbof.rb:3  
        from runme.rb:1:in `require'  
        from runme.rb:1  

trying to re-build fails… I’ve managed to get a bundle compiled with a recent version of OF (0.061); reply, if you want to get the XCode configuration.

Unfortunately, it tells me the exact same problem, though.


Can we get some love back into this topic? :smiley: I’d very much like to use these Ruby bindings but I don’t have any instructions for what/how to compile, etc. (So of course I keep receiving Ruby errors that the required libraries do not exist.) Help?

Hey Stewart…!

I don’t know if this will be any help at all, but he appears to have used swig to create the bindings. Unfortunately, his swig interface file is not in the google repo.


Nik! Small world!!

Someone pointed this out to me:

It’s from a guy at Parsons. In-progress of course. At the moment it compiles but the example scripts generate fatal errors so I haven’t been able to see it run yet. (But since he’s constantly working on it I’m hoping that issue will resolve itself rather soon.) I’m not fond of the grandiose descriptions and branding of it–but that’s besides the point I guess. I’d love to work on this problem myself but time is definitely an issue! Soooooo looking forward to using Ruby in this way. I hope all’s well with you and say hello to NYC for me.