Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ubuntu 上并安装了 rbenv + ruby-build。当我尝试安装任何版本时,我得到一个错误。从日志看来,它似乎尝试安装 ruby,/usr/local/rbenv/versions但出现Permission denied错误。我不确定这是否应该是正确的路径版本?在我的 Mac 上/usr/local/Cellar/rbenv/shims/ruby!
/usr/local/rbenv/versions
Permission denied
/usr/local/Cellar/rbenv/shims/ruby
有什么线索吗?
使用sudo <your_install_command>.
sudo <your_install_command>