Erro de instalação RVM: curl retornou o status 23

wavedocs@rails:~$ curl -L https://get.rvm.io | bash -s stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 330 0 --:--:-- --:--:-- --:--:-- 330
100 22721 100 22721 0 0 28089 0 --:--:-- --:--:-- --:--:-- 158k
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
curl
: (23) Failed writing body (0 != 860)

Could not download 'https://github.com/rvm/rvm/archive/1.26.11.tar.gz'.
curl returned status
'23'.

Downloading https://bitbucket.org/mpapis/rvm/get/1.26.11.tar.gz
curl
: (23) Failed writing body (0 != 15926)

Could not download 'https://bitbucket.org/mpapis/rvm/get/1.26.11.tar.gz'.
curl returned status
'23'.

Solução

nano ~/.bashrc
cat
> ~/.bashrc <<EOF
unset rvm_path

unset GEM_HOME

EOF

Instale RVM

curl -L https://get.rvm.io | bash -s stable
source
~/.rvm/scripts/rvm
echo
"source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install
2.2.3
rvm
use 2.2.3 --default
ruby
-v