Установка TaskJuggler приводит к тайм-ауту

372
Thomas Weller

Я пытаюсь установить TaskJuggler . Насколько я могу судить, я успешно установил Ruby и Gem.

Команда, которую я пытаюсь выполнить, и сообщение об ошибке:

C:\...>gem install taskjuggler-3.5.0.gem ERROR: Could not find a valid gem 'term-ansicolor' (>= 1.0.7), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/specs.4.8.gz) 

Я пытался:

  • добавить правило брандмауэра, ruby.exeчтобы разрешить любой трафик в Интернет
  • запустить командную строку от имени администратора
0

1 ответ на вопрос

0
Thomas Weller

I solved it by downloading the gem from the website (e.g. term-ansicolor), installing it manually with the --local switch, then running the installation script again to get the name of the next missing gem.

I continued that way until I could install TaskJuggler.

Since I also had problems installing Ruby and RubyGem before, I have now started to create a TaskJuggler Installer for Windows, which comes with all the components and runs them in the correct order.

Disclaimer: I'm the author of that free installer.

Похожие вопросы