Statically link a rubygem? (Rubygame)

Is there a way to statically link a rubygem? I want to play with
Rubygame in my handheld. I can build ruby to it, but how will I use
Rubygame?

I think that I can embedd a ruby interpreter in a program and use
Rubygame like if it was a Ruby extension. But there’s trouble in the
process because I don’t know how to do that. I mean, Rubygame have some
scripts in a folder “lib/rubygame/*.rb” and I dont know how to include
that in the static library. But I don’t want to have the “rubygame”
folder in my program.

Is there any documentation about Ruby extensions development that is not
like “your ruby extension in 30 seconds” and really explain how to do it
right?

Thank you

I don’t have a clue how to answer your question but it may be worth
popping
into #rubygame on freenode or posting on Rubygame: The Blog

/Shawn