I get following error when trying to install anything with RVM:
Searching for binary rubies, this might take some time. Found remote file https://rvm.io/bina
In my case rvm missed some linux packages, which couldnt be installed without sudo. There were no apt-get install errors at all.
When running rvm install ruby x.x.x with sudo, rvm installed packages required to build ruby and it worked.