在 rails 上安装 ruby 时出错
Error installing ruby on rails
我正在尝试使用此 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
当我 运行 ls 当我在 /usr/local/rvm 里面时得到这个错误
aniket@aniket.shivam-L740-X4010:/usr/local/rvm$ ls
存档配置文档示例 gems 帮助 installed.at LICENSE man patchsets RELEASE scripts tmp VERSION
bin contrib environments gem-cache gemsets hooks lib log patches README rubies src user wrappers
请尝试使用以下命令,
sudo chmod -R 777 /usr/local
然后用
重试
rvm install 2.3.1
希望这能解决您的问题。
我正在尝试使用此 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
当我 运行 ls 当我在 /usr/local/rvm 里面时得到这个错误
aniket@aniket.shivam-L740-X4010:/usr/local/rvm$ ls
存档配置文档示例 gems 帮助 installed.at LICENSE man patchsets RELEASE scripts tmp VERSION
bin contrib environments gem-cache gemsets hooks lib log patches README rubies src user wrappers
请尝试使用以下命令,
sudo chmod -R 777 /usr/local
然后用
重试rvm install 2.3.1
希望这能解决您的问题。