我正在尝试使用此link
在rails上安装ruby但是得到错误。当我运行这个rvm安装2.3.1
我收到此错误
mkdir: cannot create directory ‘/usr/local/rvm/log/1467720951_ruby-2.3.1’: Permission denied
tee: /usr/local/rvm/log/1467720951_ruby-2.3.1/update_system.log: No such file or directory
Error running 'requirements_debian_update_system ruby-2.3.1',
showing last 15 lines of /usr/local/rvm/log/1467720651_ruby-2.3.1/update_system.log
tail: cannot open ‘/usr/local/rvm/log/1467720651_ruby-2.3.1/update_system.log’ for reading: No such file or directory
Requirements installation failed with status: 1.<br/>
When i ran curl -sSL https://get.rvm.io | bash -s stable <br/>
so it was install on /usr/local/rvm
当我在/ usr / local / rvm里面运行ls时遇到此错误
aniket@aniket.shivam-L740-X4010:/ usr / local / rvm $ ls
archives config docs examples gems help installed.at LICENSE man patchsets RELEASE scripts tmp VERSION
bin contrib environment gem-cache gemsets hooks lib log patches README rubies src user wrappers
答案 0 :(得分:1)
请尝试使用以下命令,
String
然后用
重试sudo chmod -R 777 /usr/local
希望这能解决您的问题。