我似乎无法在我的 Ubuntu 10.04.1 LTS 机器上安装 Ruby。我尝试了几个不同的教程,但都没有奏效。看来我可以使用命令正确安装 RVM \curl -L https://get.rvm.io | bash -s stable
。不过,我确实收到了这个警告:
* 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。
编辑:
我/usr/local/rvm/scripts/functions/support: line 170: cd: /path/to/tarballs/: No such file or directory
在尝试安装 ruby 时也得到了。