Error running 'requirements_osx_brew_libs_install…' on Mac 10.7

前端 未结 8 1193
陌清茗
陌清茗 2020-12-28 12:31

Trying to install brew on a last generation Macbook Pro and keep getting the following error:

Error running \'requirements_osx_brew_libs_install autoconf

8条回答
  •  温柔的废话
    2020-12-28 13:33

    Had similar issues on a new OS X Mountain Lion install.

    Followed tutorial http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ until step 6 when I got this error. Also checked log file which didn't indicate exact problem.

    Decided to verify if RVM had installed.

    type rvm | head -1
    

    Didn't show rvm as being 'sourced'. So, opened new terminal to check. Sure enough, new terminal returned rvm is a function. So, closed older terminal session & re-copied install rvm script into new terminal.

    \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enable

    After this, all went well. Did not do any manual installs. One slight detour I took was to brew install pkg-config after reading the post Error installing any ruby version with RVM on OSX just before running the above curl command again - this was likely unnecessary too.

    Then,

    rvm use 2.0.0 --default
    

    You might get a message:

    >A RVM version 1.20.11 (stable) is installed yet 1.20.10 (stable) is loaded.
    Please do one of the following:
      * 'rvm reload'
      * open a new shell
      * 'echo rvm_auto_reload_flag=1 >> ~/.rvmrc' # for auto reload with msg.
      * 'echo rvm_auto_reload_flag=2 >> ~/.rvmrc' # for silent auto reload.
    

    Type dvm reload or one of the other options. Verify with dvm -v, ruby -v

提交回复
热议问题