0

コマンドを使用してrvmをインストールしようとしている間::(私はUBUNTU 12.04 LTSを使用しています)

curl -L https://get.rvm.io | bash -s

シンプルなユーザーと同じコマンドを試すと、次のようなエラーが発生します

abhay@Abhay:~/Downloads$ curl -L https://get.rvm.io |sudo bash -s
curl: (1) Protocol https not supported or disabled in libcurl

これは私のカールがインストールされている2つのパスです

abhay@Abhay:~$ which -a curl
/home/abhay/bin/curl
/usr/local/bin/curl

これは私がまだ得ているエラーです

root@Abhay:/home/abhay# curl -L https://get.rvm.io | bash -s stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0     33      0  0:00:05  0:00:05 --:--:--    61
100 13774  100 13774    0     0   1271      0  0:00:10  0:00:10 --:--:--  3214
Downloading RVM from wayneeseguin branch stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0     37      0  0:00:03  0:00:03 --:--:--    60
 27 1079k   27  294k    0     0   5853      0  0:03:08  0:00:51  0:02:17  8245
curl: (18) transfer closed with 804285 bytes remaining to read

Could not download 'https://github.com/wayneeseguin/rvm/archive/stable.tar.gz'.
  curl returned status '18'.

そしてこれも

root@Abhay:/home/abhay# \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0     42      0  0:00:04  0:00:04 --:--:--    70
100 13774  100 13774    0     0   1663      0  0:00:08  0:00:08 --:--:--  4770
Turning on auto dotfiles mode.
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0     42      0  0:00:02  0:00:02 --:--:--    75
  8 1079k    8 98109    0     0   3745      0  0:04:55  0:00:26  0:04:29  7132

Curl returned 141 - it is result of a segfault which means it's Curls fault.
Try again and if it crashes more than a couple of times you either need to
reinstall Curl or consult with your distribution manual and contact support.
4

2 に答える 2

1

システムが壊れているようです。RVM は、バイナリ ルビーをビルドするときとhttp://travis-ci.orgの両方で、ubuntu でのインストールについてテストされています。

このシステムを削除し、カスタマイズせずに新規インストールを開始することをお勧めします。

于 2013-07-19T20:59:33.433 に答える
0

パスから削除/home/abhay/bin/curl:

function remove_from_path()
{
  if
    [[ -n "$1" ]]
  then
    export PATH
    PATH=":${PATH}:"
    PATH="${PATH//:$1:/:}"
    PATH="${PATH//::/:}"
    PATH="${PATH#:}"
    PATH="${PATH%:}"
  fi
}
remove_from_path /home/abhay/bin
于 2013-07-19T17:29:09.640 に答える