Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created July 9, 2016 20:14
Show Gist options
  • Select an option

  • Save dannysmith/d94046009ebd4a29a93708ae90bd72b3 to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/d94046009ebd4a29a93708ae90bd72b3 to your computer and use it in GitHub Desktop.
rbenv global "$ruby_version"
gem update --system
gem_install_or_update 'bundler'
gem_install_or_update 'brice'
gem_install_or_update 'pry'
gem_install_or_update 'pry-doc'
gem_install_or_update 'awesome_print'
number_of_cores=$(sysctl -n hw.ncpu)
bundle config --global jobs $((number_of_cores - 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment