Install ruby 2.0 under Ubuntu 15.04 box

I have a problem when trying to install ruby 2.0 under Ubuntu 15.04 box I have add ppa:brightbox/ruby-ng with bellow command:

sudo apt-add-repository ppa:brightbox/ruby-ng

And I get following error when I use sudo apt-get update:

W: Failed to fetch 404 Not Found
W: Failed to fetch 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

How I can fix this issue?

1 Answer

The PPA Brightbox Ruby NG has no packages for Vivid. But Ruby 2.0 is in the Ubuntu Repository for your Ubuntu Vivid installation.

Therefore

sudo apt-get install ppa-purge
sudo ppa-purge ppa:brightbox/ruby-ng
sudo apt-get install --reinstall ruby
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like