2012-04-16 24 views
5

tôi gặp phải lỗi này trong khi sử dụng cài đặt gói trong ROR.cách giải quyết lỗi git khi cài đặt linkedin từ git: //github.com/pengwynn/linkedin.git?

Tìm nạp các git: //github.com/pengwynn/linkedin.git chết người: Không thể nhìn lên github.com (port 9418) (Không máy chủ như vậy được biết đến.) Git lỗi: lệnh 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 trong thư mục C:/linkedin/linke dinfrongit không thành công.

Tôi đang sử dụng cửa sổ.

Trả lời

5

Bạn có đang đứng sau tường lửa chặn kết nối trên cổng 9418 không? Có lẽ bạn có thể dùng thử giao thức 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 
Các vấn đề liên quan