0
我插入了下面的「$ 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.
我看到,我有'RVM 16年1月16日(主)'。你建議我安裝'1.16.12'嗎?版本之間有區別嗎?謝謝! – LearningHowToCode
我會建議總是使用最穩定版本的任何東西,無論是Ruby,Rails,RVM等。下面是兩者之間差異的更好解釋。 http://www.engineyard.com/blog/2012/rvm-stable-and-more/ – FluxEngine