-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Describe the problem as clearly as you can
I am trying to use a private rubygems host in AWS CodeArtifact. This host does not support specs.4.8.gz. A couple months ago, I could gem install activesupport without issue. Today, I ran gem update --system, and now gem install activesupport fails with the following error message:
ERROR: Could not find a valid gem 'activesupport' (= 8.0.0), here is why:
Unable to download data from https://path/to/rubygems/host - bad response Not Found 404 (https://path/to/rubygems/host/specs.4.8.gz)
Did you try upgrading RubyGems?
Yes, that is what caused the problem for me.
Post steps to reproduce the problem
- Install new ruby and update rubygems
- Attempt to install from a gem host that does not support specs.4.8.gz
Which command did you run?
gem install activesupport
What were you expecting to happen?
activesupport gem installed
What actually happened?
error message
Run gem env and paste the output below
RubyGems Environment:
- RUBYGEMS VERSION: 3.5.23
- RUBY VERSION: 3.3.5 (2024-09-03 patchlevel 100) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/user/.rvm/gems/ruby-3.3.5
- USER INSTALLATION DIRECTORY: /home/user/.gem/ruby/3.3.0
- RUBY EXECUTABLE: /home/user/.rvm/rubies/ruby-3.3.5/bin/ruby
- GIT EXECUTABLE: /bin/git
- EXECUTABLE DIRECTORY: /home/user/.rvm/gems/ruby-3.3.5/bin
- SPEC CACHE DIRECTORY: /home/user/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /home/user/.rvm/rubies/ruby-3.3.5/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/user/.rvm/gems/ruby-3.3.5
- /home/user/.rvm/rubies/ruby-3.3.5/lib/ruby/gems/3.3.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => true
- :bulk_threshold => 1000
- :sources => [""]
- REMOTE SOURCES:
- SHELL PATH:
- /home/user/.rvm/gems/ruby-3.3.5/bin
- /home/user/.rvm/gems/ruby-3.3.5@global/bin
- /home/user/.rvm/rubies/ruby-3.3.5/bin
- /home/user/.rvm/bin
- /bin
- /home/user/bin
- /usr/local/mysql/bin
- /home/user/pkg/arcanist/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /snap/bin
- /snap/bin
Reactions are currently unavailable