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

403 error (nokociri) installing Zat on Ubuntu #377

Open
dhleong opened this issue Feb 22, 2022 · 2 comments
Open

403 error (nokociri) installing Zat on Ubuntu #377

dhleong opened this issue Feb 22, 2022 · 2 comments

Comments

@dhleong
Copy link

dhleong commented Feb 22, 2022

Fetching: nokogiri-1.13.3-x86_64-linux.gem (100%)
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.3-x64-unknown.gemspec.rz)
@sabatale
Copy link

sabatale commented Apr 15, 2022

Are you on Ruby 2.5?

I got the same error and tried to downgrade to 2.4 but then...

Fetching: racc-1.6.0.gem (100%)
ERROR:  Error installing zendesk_apps_tools:
        racc requires Ruby version >= 2.5.

I ended up manually installing version-specific gems 🤪

@Captain0X
Copy link

Captain0X commented Aug 7, 2022

Fetching: nokogiri-1.13.3-x86_64-linux.gem (100%)
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.3-x64-unknown.gemspec.rz)

Hey man,you should update ruby to latest version
I have slove this issue by step:
1.sudo add-apt-repository ppa:brightbox/ruby-ng
2.sudo apt-get update
3.sudo apt-get purge --auto-remove ruby
4.sudo apt-get install ruby2.7 ruby2.7-dev

`
root@ecs:~ gem --version
3.1.6
root@ecs:~ gem install nokogiri --platform=ruby -- --use-system-libraries
Fetching mini_portile2-2.8.0.gem
Fetching nokogiri-1.13.8.gem
Fetching racc-1.6.0.gem
Successfully installed mini_portile2-2.8.0
Building native extensions with: '--use-system-libraries'
This could take a while...
Successfully installed racc-1.6.0

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants