2012-04-16 15 views
5

obtengo este error al usar la instalación de paquete en ROR.cómo solucionar el error de git al instalar linkedin desde git: //github.com/pengwynn/linkedin.git?

Obtención git: //github.com/pengwynn/linkedin.git fatal: No se puede buscar github.com (puerto 9418) (No existe el anfitrión es conocido.) Git error: comando git clone "git://github.com/pengwynn/linkedin.git" "C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/ca che/bundler/git/linkedin-3e3919d62b37a1f8879ade6b51b3eeb032fc8973" --bare --no-hardlinks en el directorio C:/linkedin/linke dinfrongit ha fallado.

Estoy usando Windows.

Respuesta

5

¿Está detrás de un cortafuegos que bloquea las conexiones en el puerto 9418? Tal vez puedas intentarlo con el protocolo http?

git clone https://github.com/pengwynn/linkedin.git 
2
Set proxy using git config command in the command prompt with 
the following two commands: 
    git config --global http.proxy http://username:[email protected]:port 
    git config --global https.proxy http://username:[email protected]:port 

In command like: 
    git clone git://github.com/saasbook/hw2_rottenpotatoes.git 
Replace replace git:// with https://. 
    git clone https://github.com/saasbook/hw2_rottenpotatoes.git 
Cuestiones relacionadas