在ROR中使用bundle install时,我得到了这个错误。
获取git:// github.com /pengwynn/linkedin.git致命:无法查找github.com(端口9418) (未知此类主机。)Git错误:目录C:/linkedin/linkedin中的命令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失败。
我用的是windows。
发布于 2012-04-16 15:16:59
您是否在防火墙后面阻止端口9418上的连接?也许你可以尝试一下http协议?
git clone https://github.com/pengwynn/linkedin.git发布于 2013-01-30 18:15:00
Set proxy using git config command in the command prompt with
the following two commands: 
    git config --global http.proxy http://username:password@host:port 
    git config --global https.proxy http://username:password@host: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.githttps://stackoverflow.com/questions/10169991
复制相似问题