Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to build: 403 (Forbidden) from sass-embedded gemfile using bundle #3589

Open
MicrosoftWorks opened this issue Apr 12, 2024 · 1 comment
Assignees
Labels
dependencies Pull requests that update a dependency file linux It's a linux or kernel related issue question toolchain This is an infrastructure/toolchain issue

Comments

@MicrosoftWorks
Copy link

MicrosoftWorks commented Apr 12, 2024

Error when using bundle, RPiOS, RPi 5:

Bundler::HTTPError:Could not download gem from https://rubygems.org/ due to underlying error <bad response Forbidden 403 ([https://rubygems.org/gems/sass-embedded ... -linux.gem](https://rubygems.org/gems/sass-embedded-1.72.0-aarch64-linux.gem))>

Quoted from a user with the same issue on the forums, https://forums.raspberrypi.com/viewtopic.php?t=368347

which looks like an error on rubygems.org.
However, I've successfully installed sass-embedded from as described here https://rubygems.org/gems/sass-embedded.
Has anyone else experienced this? Suggestions?

The issue seems to be related to bundler not adding the proper suffix to the link, https://rubygems.org/gems/sass-embedded-1.72.0-aarch64-linux.gem wherein rubygems.org an additional descriptor needs to be added after, ...aarch64-linux [here].gemi.e. https://rubygems.org/gems/sass-embedded-1.69.5-aarch64-linux-gnu.gem which actually provides a gem.

I'll be happy to provide any additional info.

@aallan aallan added question toolchain This is an infrastructure/toolchain issue dependencies Pull requests that update a dependency file linux It's a linux or kernel related issue labels Apr 12, 2024
@aggo15
Copy link

aggo15 commented Apr 16, 2024

Can confirm. I'm having the same issue as described by OP. I'm building in a docker container from image debian:latest and hit by the same error message.

Edit: My temporary solution to this issue is change the platform of docker image to linux/arm64 in order to temporary get around the bundle install issue.

Edit2: Seems like even after change the platform, the issue still persists. I'm getting error below:

Bundler::HTTPError: Could not download gem from https://rubygems.org/ due to underlying error <bad response Forbidden 403 (https://rubygems.org/gems/sass-embedded-1.75.0-aarch64-linux.gem)>

Sound like issue from ruby's end?

@lurch lurch assigned lurch and nelliemckesson and unassigned lurch Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file linux It's a linux or kernel related issue question toolchain This is an infrastructure/toolchain issue
Projects
None yet
Development

No branches or pull requests

5 participants