我正在尝试使用安装bundler gem $ gem install bundler
.当我执行命令时,收到以下响应:
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz) ERROR: Possible alternatives: bundler
为了确保我不会发疯,我尝试安装nokogiri:
ERROR: Could not find a valid gem 'nokogiri' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz) ERROR: Possible alternatives: nokogiri
和a2z:
ERROR: Could not find a valid gem 'a2z' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/quick/Marshal.4.8/a2z-0.1.3.gemspec.rz)
如果有人以前经历过这个问题,可以帮助我,我将不胜感激.
如果它有帮助,我正在运行MacOS Mavericks并拥有宝石版2.2.2.