Rubygems compresses your code into a tar archive. GitHub pulls all the code in source control similar to if you did a manual clone and it doesn't compress.
What you're seeing is expected. — Sent from Mailbox On Sun, Feb 8, 2015 at 2:35 PM, Jason Fleetwood-Boldt <[email protected]> wrote: > gem 'spree', git: 'https://github.com/spree/spree.git', branch: '2-1-stable' > --> my slug is 262 MB > gem 'spree', '2.1.12' > if I point my Spree app to a gem built with a reference to an open github > repo, when it compiles & builds at 262 MB. When I point it to the packaged > gem at Ruby gems -- basically the same exact set of code with about 4 small > commit difference -- it compiles & builds at 192 MB. > So it appears to me that there is a HUGE overhead in terms of slug size if > you point a gem to build from Github source rather than using a Rubygem's > built version. > Has anyone else seen this effect and can confirm? > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
