[DRE-maint] Bug#1069089: ruby-rubygems: Broken platform detection which lead to unability to install sass-embedded

Ralf Jung post at ralfj.de
Sat Jun 8 17:52:46 BST 2024


Hi,

I think I am hitting a similar issue -- trying to install a bundle that contains 
the "ffi" gem leads to an error:

Bundler::HTTPError: Could not download gem from https://rubygems.org/ due to 
underlying error <bad response Forbidden 403 
(https://rubygems.org/gems/ffi-1.17.0-x86_64-linux.gem)>
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/rubygems_integration.rb:497:in 
`rescue in download_gem'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/rubygems_integration.rb:469:in 
`download_gem'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/source/rubygems.rb:481:in 
`download_gem'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/source/rubygems.rb:443:in 
`fetch_gem'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/source/rubygems.rb:427:in 
`fetch_gem_if_possible'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/source/rubygems.rb:161:in 
`install'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/installer/gem_installer.rb:54:in 
`install'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/installer/gem_installer.rb:16:in 
`install_from_spec'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/installer/parallel_installer.rb:156:in 
`do_install'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/installer/parallel_installer.rb:147:in 
`block in worker_pool'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/worker.rb:62:in 
`apply_func'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/worker.rb:57:in 
`block in process_queue'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/worker.rb:54:in 
`loop'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/worker.rb:54:in 
`process_queue'
 
/usr/share/rubygems-integration/all/gems/bundler-2.4.20/lib/bundler/worker.rb:90:in 
`block (2 levels) in create_threads'

Indeed the file https://rubygems.org/gems/ffi-1.17.0-x86_64-linux.gem does not 
exist. The correct filename seems to be 
https://rubygems.org/gems/ffi-1.17.0-x86_64-linux-gnu.gem. I don't know anything 
about Ruby, gem, or bundler so I am quite stuck here, and unable to execute 
Jekyll unfortunately.

Kind regards,
Ralf



More information about the Pkg-ruby-extras-maintainers mailing list