我已经安装了 1.8.3 版本,但是当我尝试通过 rvm 安装 Ruby 1.9.2 时看到一些 ERRORS 。
我用谷歌,用了很多方法来解决这个问题,但我没有收到任何答案。有谁能够帮我?
我在下面引用代码的一部分(在终端中)
unforbiddenyet@Trash-PC:~$ rvm install 1.9.2
0Warning: Failed to create the file yaml-0.1.4.tar.gz: Access is denied
Database file /usr/share/ruby-rvm/config/packages does not exist.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
curl: (23) Failed writing body (0 != 2503)
There was an error, please check /usr/share/ruby-rvm/log//*.log. Next we'll try to fetch via http.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
Failed writing body (0 != 2804)
There was an error, please check /usr/share/ruby-rvm/log//*.log
There has been an error while trying to fetch the source.
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.