Remove broken or 404 repos from your /etc/apt/sources.list
.
rvm
will fail if you don't remove or comment them out.
To work out which aren't working, run apt-get update
and see which ones are marked as failing.
Once you are using rvm
, installing Ruby is easy.
rvm install ruby
rvm use ruby --default
I had the same problem.