Homebrew Permissions mess

后端 未结 1 613
梦谈多话
梦谈多话 2021-02-01 18:39

I installed Homebrew from my admin account. If I run brew doctor from that account I get no errors, but if I run brew doctor from my non-admin user acc

1条回答
  •  失恋的感觉
    2021-02-01 19:32

    I had the same problem, I had to read the doc and think a lot.

    $ rvm autolibs read-only # read more here: https://rvm.io/rvm/autolibs
    $ rvm install ruby  # or any version you want
    

    This tells rvm to install ruby with current installed libs... default is read-fail which terminate rvm for missed requirements.

    To use openssl (gem needs it, I had to rebuild ruby). Ask the computer admin install openssl with brew

    $ brew install openssl  # if you want to install all dependencies run 'rvm requirements'
    $ rvm reinstall ruby
    or 
    $ rvm install ruby
    

    0 讨论(0)
提交回复
热议问题