我插入了下面的"$ rvm get head && rvm重新加载“,并得到了下面的输出。它说缺少目录并运行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.发布于 2012-10-23 03:56:56
如果你进入
rvm -v并获取
rvm 1.16.12 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]然后安装rvm。如果没有正确安装,则可以使用
rvm implode这将删除它,并允许您从头开始。
rvm get stable这将为您提供最新的稳定版本。
至于什么是rvmsudo,这里有一个很好的解释
http://ruby.about.com/od/rubyversionmanager/qt/Rvm-And-Sudo.htm
https://stackoverflow.com/questions/13023161
复制相似问题