我插入了以下“$ rvm get head && rvm reload”并得到了下面的输出。它说目录丢失并运行 rvmsudo 来解决我的问题。有人可以解释我应该创建哪些目录吗?什么是“rvmsudo”?
根据输出,这是否意味着它没有正常运行?最后,它指出..“/usr/local/rvm/ 中的 RVM 升级完成。”
输出:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 199 0 --:--:-- --:--:-- --:--:-- 417
100 10009 100 10009 0 0 7016 0 0:00:01 0:00:01 --:--:-- 78811
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 261 0 --:--:-- --:--:-- --:--:-- 1179
100 1125k 100 1125k 0 0 640k 0 0:00:01 0:00:01 --:--:-- 1238k
Upgrading the RVM installation in /usr/local/rvm/
mkdir: /usr/local/share/man/man1: Permission denied
stat: /usr/local/share/man/man1: stat: No such file or directory
chown: /usr/local/share/man/man1: No such file or directory
cp: /usr/local/share/man/man1/rvm.1: No such file or directory
Please run the installer using rvmsudo to fix file permissions
stat: /usr/local/share/man/man1/rvm.1: stat: No such file or directory
chown: /usr/local/share/man/man1/rvm.1: No such file or directory
mkdir: /usr/local/share/man/man1: Permission denied
stat: /usr/local/share/man/man1: stat: No such file or directory
chown: /usr/local/share/man/man1: No such file or directory
cp: /usr/local/share/man/man1/rvm.1.gz: No such file or directory
Please run the installer using rvmsudo to fix file permissions
stat: /usr/local/share/man/man1/rvm.1.gz: stat: No such file or directory
chown: /usr/local/share/man/man1/rvm.1.gz: No such file or directory
RVM PATH line found in /Users/XXXXXX/.bashrc /Users/XXXXXX/.zshenv.
RVM sourcing line found in /Users/XXXXXX/.bash_profile /Users/XXXXXX/.zprofile.
Upgrade Notes:
* No new notes to display.
.....
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Upgrade of RVM in /usr/local/rvm/ is complete.