[Rubygems-developers] Building binary gems

Patrick Hurley phurley at gmail.com
Wed Mar 7 13:35:33 EST 2007


On 3/7/07, Daniel Berger <Daniel.Berger at qwest.com> wrote:
> I'm not sure how this could be built into rubygems itself, though. I
> mean, if the binaries aren't added to the list of files in the gemspec
> initially, how would a gem install know, via whatever command line
> option, that it's supposed to grab the binary?

I was actually thinking of doing something a little crude:

1. Get the original gemspec
2. Remove any extensions
3. Add current platform to gemspec
4. Add all files in the installed gem tree to the manifest
5. Create the gem

Am I missing something?
pth


More information about the Rubygems-developers mailing list