OS X install and tips

View the Project on GitHub nicolas-brousse/osx-install-and-tips

← Go home

Rbenv

Installation

$ brew install rbenv ruby-build

OhMyZsh

Add the rbenv plugin to OhMyZsh config.

Install ruby

$ rbenv install 2.4.1
# Define ruby 2.4.1 as default
$ rbenv global 2.4.1
$ gem update --system

Config gem and install commons gem for rails dev

$ echo 'gem: --no-document' >> ~/.gemrc
$ gem install bundler foreman pg rails
# Parallelize gems installation with bundle
$ bundle config --global jobs `expr $(sysctl -n hw.ncpu) - 1`

Puma-dev - local proxy for rack applications

$ brew install puma/puma/puma-dev

Tips

Somes tips here.


https://gist.github.com/brentertz/1384279
https://gist.github.com/jpantuso/1110217
http://www.bounga.org/ruby/2012/02/06/pow-using-rbenv/ http://robots.thoughtbot.com/using-rbenv-to-manage-rubies-and-gems https://robots.thoughtbot.com/parallel-gem-installing-using-bundler


← Go home