Can't set up dev environment due to cppjieba_rb failing to install

Update:

This problem appears to be resolved by a related TLDR: don’t use the ruby comes with mac.

See: xavi- commented on May 16, 2019

I followed his (xavi’s) instructions, switched to rbenv and bundle install worked, but still needs confirmation …

Update 2:

Confirmed: Switching to rbenv and setting up the current PATH environment ~/.rbenv/shims works and resolved this issue.

export PATH=~/.rbenv/shims:$PATH
5 likes