Skip to content

Instantly share code, notes, and snippets.

@cdesch
Last active November 5, 2016 12:58
Show Gist options
  • Save cdesch/8f7653390631beaab73b3daa033eeb7b to your computer and use it in GitHub Desktop.
Save cdesch/8f7653390631beaab73b3daa033eeb7b to your computer and use it in GitHub Desktop.
Post Upgrade to MacOS 10.12
#MacOS (OS X) Sierra 10.12
#Ruby 2.3.1
#Rails 4.2.7
#Install Command Line Tools for MacOS -
xcode-select --install
#manual installation of the following gems when upgrading to ruby 2.3.1
#uninstall libv8 and the ruby racer
gem uninstall libv8
gem uninstall eventmachine
gem uninstall therubyracer
brew install readline
brew upgrade v8
#If not installed
brew tap homebrew/versions
brew install v8-315
#Install Gems
gem install eventmachine ' -- --with-cppflags=-I/usr/local/opt/openssl/include
gem install libv8 -- --with-system-v8
# version *.11
gem install libv8 -v '3.16.14.11' -- --with-system-v8
# version *.15
gem install libv8 -v '3.16.14.15' -- --with-system-v8
#gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment