Bundle Install could not fetch specs from https://rubygems.org/

前端 未结 14 2441
抹茶落季
抹茶落季 2021-02-01 13:20

I\'m attempting to follow the Hartl Rails Tutorial, and having trouble with the bundler gem.

When using the commands \'bundle install\' or \'bundle update\' I get the fo

14条回答
  •  情书的邮戳
    2021-02-01 13:50

    Just in case none of the above satisfies the next intrepid explorer, I thought I'd drop here that after I spent 4 hours on this doing variants of the search that landed me here, I finally discovering that IPV6 was the culprit, after finding this specific thread on help.rubygems.org. Solution? this (Fedora, Linux):

    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
    

    set up a shell script to flip IPV6 on and off so I could run a command without it, and now everything runs peachy.

提交回复
热议问题