Last active
December 29, 2015 23:59
-
-
Save pauldruziak/7746128 to your computer and use it in GitHub Desktop.
Configuring Bundler for faster, parallel gem installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
source ~/.zshrc | |
rvm 2.0.0-p247 | |
gem install bundler --no-document --pre | |
number_of_cores=`nproc` | |
bundle config --global jobs `expr $number_of_cores - 1` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
source ~/.zshrc | |
rvm 2.0.0-p247 | |
gem install bundler --no-document --pre | |
number_of_cores=`sysctl -n hw.ncpu` | |
bundle config --global jobs `expr $number_of_cores - 1` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment