The Gem layout section of the Gems with extensions page is quite confusing. So far I don't know enough about C extensions to improve the text myself, so I'm just opening an issue for it.
Some extensions will be partially written in C and partially written in ruby. If you are going to support multiple languages, such as C and Java extensions, you should put the C-specific ruby files under the ext/ directory as well in a lib/ directory.
What exactly does the portion highlighted by bold typeface mean? I'm also not sure if it is syntactically correct or not.
When the extension is built the files in ext/my_malloc/lib/ will be installed into the lib/ directory for you.
As a reader, I expect this paragraph, following immediately after an example directory listing, to refer to paths contained in the listing. But the listing does not include the directory ext/my_malloc/lib. I'm confused.
The Gem layout section of the Gems with extensions page is quite confusing. So far I don't know enough about C extensions to improve the text myself, so I'm just opening an issue for it.
What exactly does the portion highlighted by bold typeface mean? I'm also not sure if it is syntactically correct or not.
As a reader, I expect this paragraph, following immediately after an example directory listing, to refer to paths contained in the listing. But the listing does not include the directory
ext/my_malloc/lib. I'm confused.