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...
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