【发布时间】:2013-08-16 18:26:10
【问题描述】:
我似乎无法在我的 Ubuntu 10.04.1 LTS 机器上安装 Ruby。我尝试了几个不同的教程,但都没有奏效。看来我可以使用命令\curl -L https://get.rvm.io | bash -s stable 正确安装 RVM。不过,我确实收到了这个警告:
* WARNING: Your '/root/.bashrc' contains `PATH=` with no `$PATH` inside, this can breakRVM,
for details check https://github.com/wayneeseguin/rvm/issues/1351#issuecomment-10939525
to avoid this warning append #PATH.
当我尝试运行 rvm install 1.9.3 时,我得到以下信息并且 ruby 没有安装。
Downloaded archive checksum did not match, archive was removed!
If you wish to continue with not matching download add '--verify-downloads 2' after the command.
There has been an error fetching the ruby interpreter. Halting the installation.
我尝试添加--verify-downloads 2,但也没有用。
我最终想安装 rails 但当然需要先安装 ruby。
编辑:
我在尝试安装 ruby 时也会收到 /usr/local/rvm/scripts/functions/support: line 170: cd: /path/to/tarballs/: No such file or directory。
【问题讨论】:
标签: ruby-on-rails ubuntu rvm ubuntu-10.04