gem install error, index not found, ruby on rails

前端 未结 7 559
礼貌的吻别
礼貌的吻别 2021-01-25 10:30

Problem: Cannot install any gem, any type. But I want to install riddle if that matters.

When I run sudo gem install \"gem_name\" I get the following error:

7条回答
  •  遇见更好的自我
    2021-01-25 11:05

    1) Here is the answer!!!! - slow connection

    2) Solution - move to a new connection.

    - This might not affect people in the 1st world, but I live in China and this was a huge problem as few people seem to have experienced this.

    Basically the error means that the connection is to slow and gives up saying no index found. But there is not documentation or help out there on this, except for a few posts about changing gem sources, and MERB causing problems, but all that failed for me.

提交回复
热议问题