Rails

Greatly Improve The Speed Of Your Bundle Install Or Bundle Update In Bundler

Posted by Weston Ganger on February 07, 2017

Sometimes a bundle update or bundle install can take forever. Its a huge time waster. Did you know you can massively speed this up very easily. Just create or update your ~/.bundle/config and add the following line.

The number you should choose here is 1 less than the number of CPU cores you have. In my case I have a quad core so I use 3 here.


# ~/.bundle/config

---
BUNDLE_JOBS: '3'

or you can run the following command which will do the above for you.


bundle config --global jobs 3


Related External Links:


Posted in Rails and Tagged with bundler rails 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts