Skip to content

Instantly share code, notes, and snippets.

@dongyuwei
Created February 25, 2014 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dongyuwei/9200405 to your computer and use it in GitHub Desktop.
Save dongyuwei/9200405 to your computer and use it in GitHub Desktop.
#cat ~/.bundler/config
#gem install bundler --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