Can't update RVM - “fatal: Unable to find remote helper for 'http'”

后端 未结 3 1388
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 22:20

I\'m running RVM 1.1.6 on Ubuntu 8.04 and all of a sudden I can\'t update to the latest version anymore.

~ rvm get head

Original installed RVM version:

rvm         


        
3条回答
  •  自闭症患者
    2020-12-17 22:56

    I ran into the same issue and it seemed that the git version was missing curl and expat support. I could resolve it by compiling the git version myself.

    sudo apt-get remove git-core
    wget http://kernel.org/pub/software/scm/git/git-1.7.3.5.tar.gz
    sudo apt-get build-dep git-core
    tar xvzf git-1.7.3.5.tar.gz
    cd git-1.7.3.5/
    ./configure --with-curl --with-expat
    make
    sudo make install
    
    1. Remove the installed version
    2. Download the latest .tar
    3. Install all mandatory dependencies (maybe obsolete, as you had it already running)
    4. Un-tar it
    5. Configure the make-file with curl and expat extension
    6. Install it

提交回复
热议问题