mirror of
https://github.com/BretFisher/jekyll-serve.git
synced 2026-07-22 13:53:45 -04:00
"Could not fetch specs from https://rubygems.org/" error when starting up #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ochitu on GitHub (May 12, 2021).
Hi Bret,
I'm following your Docker course on Udemy and reached the persistent storage chapter. When running this container, it tries to fetch something from rubygems.org and fails, eventually giving up after 6 retries.
It looks like something is blocking Ruby to call home, but it's only inside the container.
If I run
curl -ivk https://rubygems.org/specs.4.8.gz, it works.If it matters, I'm on a Mac.
Cheers!
Octav
@ochitu commented on GitHub (May 13, 2021):
Please disregard. After some more digging, I traced it to a configuration in the Docker engine pertaining to my work setup.