Gem bundle 报错,大神们求救,

315046509 · 2014年03月31日 · 最后由 Rei 回复于 2014年03月31日 · 2379 次阅读

bundle 报错,大神们救救我,非常非常感谢 帮小弟看看这是怎么回事!找了很多人都不知道怎么解决 重新安装了 ruby,还是这样! ruby 版本是:ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux] gem 版本是:2.2.2 Gemfile 加入新的 gem,bundle 后会报: Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

/home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:in initialize': No such file or directory - getaddrinfo (Errno::ENOENT) from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:inopen' from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:878:in block in connect' from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/timeout.rb:52:intimeout' from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:877:in connect' from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:862:indo_start' from /home/sc/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/net/http.rb:857:in start' 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/bundle:23:inload' from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/bundle:23:in <main>' from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/ruby_executable_hooks:15:ineval' from /home/sc/.rvm/gems/ruby-2.0.0-p353@global/bin/ruby_executable_hooks:15:in `'

翻墙看看。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号