Embedding Ruby in BlitzMAX

Hi,

I'm looking to embed the Ruby language as a scripting engine within a game engine written in BlitzMAX. I've tried to do it with the normal Ruby source but I can't get the source to compile on my Mac or Windows PC properly. I was wondering if anyone has any recommendations for embedding Ruby. Thanks.

James