# Creating binary gems, from source gems

**URL:** <https://www.ruby-forum.com/t/creating-binary-gems-from-source-gems/87648>\
**Category:** Ruby\
**Created:** [March 4, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/creating-binary-gems-from-source-gems/87648 "2007-03-04T22:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickharlan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/77aa72/32.png) [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Post date:** [March 4, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/creating-binary-gems-from-source-gems/87648/1 "2007-03-04T22:47:53Z")

</div>

So here is my question:

Is there an easy (read automated) way to take a gem (that requires a  
binary compilation) from a properly configured development/build  
machine and create a binary gem?

I have production servers that will not include a C/C++ compiler or  
other development tools – I would like to use gems for my packaging  
and deployment. I can of course do this by hand, but it seems like a  
common enough task (or will be as ruby pushes more and more into the  
mainstream), that others may have already encountered (and solved)  
this problem.

If not would this feature be a welcome patch to gem? (or is it already  
there and I did not see it)  
Thanks  
pth
