From: Ravish Inverse Date: 2009-10-24T03:51:51+09:00 Subject: About ruby/ext/my_extension/lib function. What is the right structure for a Ruby extension? I mean, not a RubyGem, a Ruby extension like that openssl one that comes with Ruby source. I've asked in the IRC channel and all that the people said was: "just put it under ruby/ext". But some extensions (openssl, for example) have a structure like that: ruby/ext/openssl/ *lots of C files* ruby/ext/openssl/lib/openssl.rb ruby/ext/openssl/lib/openssl/ *some Ruby files* My question is: what are these Ruby files for? I want to know because I want to compile Rubygame (a RubyGem) like if it was a common Ruby extension in order to link it statically with an embedded application and run it on my handheld. And on rubygame source exists a lib dir with files that are needed by the rubygame. Thank you for the help -- Posted via http://www.ruby-forum.com/.