The way to save my `bundle install`

Arthur Wang 的泡面番
1 min readSep 13, 2017

--

Yet another note just for myself (or anyone else who’s suffering same issue).

$gem install libv8 -v 3.16.14.7 -- --with-system-v8
$gem install nokogiri -v 1.6.5 -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2
$gem install therubyracer -v ‘0.12.1’ — — with-v8-dir=$(brew — prefix v8–315)

You don’t really have to know, but the background is:

  1. I have an ancient rails repo
  2. My CleanMyMac doesn’t like the gemset of the ruby version that repo’s using =.=

So every time when I want to run that rails app in local environment after I run CleanMyMac… I have to remember these steps.

--

--