rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 1.99k forks source link

Bundler 0.9.25 is crazy slow for sinatra apps when not locked and running shotgun #374

Closed ajsharp closed 14 years ago

ajsharp commented 14 years ago

It appears that bundler is re-resolving and un-taring the .gem files on every request. Including javascripts, stylesheets, everything. This may not actually be a bundler problem -- maybe it's a shotgun problem. To my knowledge this does not happen with rails in development mode. Again, this only happens in development when running shotgun, which no one in their right mind would use in production, but still, it ain't good ;)

wycats commented 14 years ago

This is a known issue that is fixed on master. We need to look at those .gem files during installation, and the logic for doing that accidentally leaked into the runtime.

indirect commented 14 years ago

If you're willing, you can test 1.0.beta1 with gem install bundler --pre. That should (I believe) fix this issue.

ajsharp commented 14 years ago

Thanks for the speedy response. I'll give 1.0beta1 a try today and post my results back here. Thanks again for all the hard work.