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

Posted by Weston Ganger

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. If you have hyperthreading choose 2 less than total threads.


# ~/.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:

Article Topic:Software Development - Rails

Date:February 07, 2017

Recommended Posts