Error Message “Xcode alone is not sufficient on Sierra”
问题 I'd like to install openCV to vectorize image, but there's a series error message regarding Xcode and Ruby. First, I use terminal to install openCV, brew install opencv . Then, I got error message indicating that the system doesn't like my ruby version. /usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError) So, I want to upgrade my ruby. I followed several update strategy from this post. First ruby upgrade trial: