Try with Update ruby curl -L https://get.rvm.io | bash -s stable rvm install ruby-2.4.1 rvm docs generate-ri