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

后端 未结 3 1391
被撕碎了的回忆
被撕碎了的回忆 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:47

    With no sudo or root access I had to do things a bit differently. Perhaps as a result, using the usual ./configure --with-options route to configuring git did not work for me. Here's the steps I took in case it helps someone else:

    export CURL_INSTALL_PATH=/path/to/install/curl
    export EXPAT_INSTALL_PATH=/path/to/install/expat
    export GIT_INSTALL_PATH=/path/to/install/git
    
    wget http://curl.haxx.se/download/curl-7.28.1.tar.gz
    tar xzvf curl-7.28.1.tar.gz
    cd curl-7.28.1
    ./configure --prefix=$CURL_INSTALL_PATH
    
    wget http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz
    tar xzvf expat-2.1.0.tar.gz
    cd expat-2.1.0
    ./configure --prefix=$EXPAT_INSTALL_PATH
    
    wget http://kernel.org/pub/software/scm/git/git-1.7.12.1.tar.gz
    tar xzvf git-1.7.12.1.tar.gz
    cd git-1.7.12.1
    make prefix=$GIT_INSTALL_PATH CURLDIR=$CURL_INSTALL_PATH
    EXPATDIR=$EXPAT_INSTALL_PATH
    make prefix=$GIT_INSTALL_PATH CURLDIR=$CURL_INSTALL_PATH
    EXPATDIR=$EXPAT_INSTALL_PATH install
    

提交回复
热议问题