yes Keenan, it's definitely my slug size that's creeping up (same problem others are having)
I did some digging and this is what I found: According to the command-line output, my bundle is getting installed to `.bundle/gems`. I decided to try and vendor my gems to see if this would make a difference. Firstly, I downloaded the source for the compass gem and stuck in my vendor/gems directory. Then in Gemfile I pointed to the vendored version like so: gem 'compass', :path => File.join(File.dirname(__FILE__), '/vendor/ gems/compass') I ran bundler again and pushed to heroku and watched the gem install and the slug increase in size. Then I removed the gem from my vendor directory, bundled and pushed to heroku again, and this time, the slug size decreased! So a possible fix for this problem might be to just vendor all gems until it's sorted out. Can't say that i've tested this out thoroughly but will give it a shot tonight when I have time just to be certain. On Oct 12, 7:52 am, Keenan Brock <[email protected]> wrote: > Hi Stephen, > > If you checked in a gem into git > Then you deleted the gem from git. > Git still has the gem. > It is not showing up for today, but git log will show when you added it and > removed it. > > Guess I do not know if you are checking in your bundle dir and gems into git. > > 1. So are you saying your repo is 17mb, or your slug is 17mb? > > I'd imagine that the slug would be smaller on your change to the Gemfile. > But you stating that your slug is big suggests that maybe the .git directory > is included in the slug? > > The slug size does affect the speed in which a dyno is started / compiles / > restarts. > But I agree with Chris, I can't imagine it would slow it down too much. > > --Keenan > On Oct 12, 2010, at 12:48 AM, Chris Hanks wrote: > > > Yeah, this has happened to me before, too. I'm pretty sure the problem > > is on Heroku's end. > > > I don't worry that much about it, though, since the max slug size is > > 100 MB. > > > On Oct 11, 8:57 pm, stephen murdoch <[email protected]> > > wrote: > >> I have encountered a few strange problems with Heroku this evening. > > >> My repo size somehow managed to bloat to 17mb so I removed some gems > >> from my Gemfile (ran bundle install, git add Gemfile.lock etc etc) and > >> found that my repo was still 17mb. > > >> I removed all my gems (apart from rails and pg) and the repo didn't > >> get any smaller. My app is no bigger than 2mb. > > >> So I deleted my app (along with my .git and .bundle directories) and > >> created everything from scratch. > > >> This seemed to fix the problem, until just now, when I tried to remove > >> 4 large gems from my Gemfile and didn't see any change in the size of > >> my compiled slug on Heroku. > > >> Is this something that other people are experiencing? > > >> FWIW, I've tried everything I can think of, including removing > >> Gemfile.lock, .bundle etc etc > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. 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.
