Skip to content

'Network error while fetching' even though manual download possible #495

Open
@diek

Description

@diek

I am new to rails, but I understand the basics but I am stumped. I have searched this issue online and in the GitHub issues to no avail.

bundle install                                        
Fetching source index from https://rubygems.org/
Network error while fetching
https://rubygems.org/quick/Marshal.4.8/sprockets-rails-2.0.0.backport1.gemspec.rz (execution expired)

I can access the url, and download the file. I have tried bundle install 4 times. Please note that everything else from the Gemfile installed successfully

I am using Mac OSX Big Sur.

Here is the output of gem env.

RubyGems Environment:
  - RUBYGEMS VERSION: 3.3.3
  - RUBY VERSION: 3.0.2 (2021-07-07 patchlevel 107) [x86_64-darwin20]
  - INSTALLATION DIRECTORY: /Users/derrick/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0
  - USER INSTALLATION DIRECTORY: /Users/derrick/.gem/ruby/3.0.0
  - RUBY EXECUTABLE: /Users/derrick/.asdf/installs/ruby/3.0.2/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/derrick/.asdf/installs/ruby/3.0.2/bin
  - SPEC CACHE DIRECTORY: /Users/derrick/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/derrick/.asdf/installs/ruby/3.0.2/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-darwin-20
  - GEM PATHS:
     - /Users/derrick/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0
     - /Users/derrick/.gem/ruby/3.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/derrick/.asdf/installs/ruby/3.0.2/bin
     - /usr/local/opt/openssl@3/bin
     - /usr/local/opt/bzip2/bin
     - /usr/local/opt/postgresql@11/bin
     - /usr/local/sbin
     - /Users/derrick/.asdf/shims
     - /usr/local/Cellar/asdf/0.9.0/libexec/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /Library/Apple/usr/bin
     - /Applications/Postgres.app/Contents/Versions/latest/bin
     - /Users/derrick/.local/bin
     - /usr/local/opt/fzf/bin
     - /Users/derrick/.local/bin
     
     ```
If you require any additional information please let me know. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions