From: Caleb Clausen Date: 2010-05-01T08:59:42+09:00 Subject: Re: installing a ruby gem with a native extension On 4/30/10, aj wrote: > Thanks for the reply Mike. I do want to link them statically. > So I do > $ gem fetch nokogiri > How to extract the gem file? gem unpack works only on installed gem. Gems are tar archives containing gzipped tar archives and some (gzipped) metadata. So, you can use tar to extract the gem. Why do you want to link statically? It's going to end up being a fair bit of effort.