Unable to install Ruby on Rails on Ubuntu 16.04 LTS
<p>I just upgraded my system to Ubuntu 16.04 LTS (clean install) and tried to install Ruby using RVM. RVM itself installs fine (using this guide <a href="http://www.webupd8.org/2014/11/how-to-install-rvm-ruby-version-manager.html" rel="nofollow">http://www.webupd8.org/2014/11/how-to-install-rvm-ruby-version-manager.html</a>), but when I then try to install Ruby I get the following error:</p>

<pre><code>user@user:~$ rvm install 2.3.0
Searching for binary rubies, this might take some time.  
No binary rubies available for: ubuntu/16.04/x86_64/ruby-2.3.0.  
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.  
Requirements installation successful.  
Installing Ruby from source to: /usr/share/rvm/rubies/ruby-2.3.0, this may take a while depending on your cpu(s)...  
ruby-2.3.0 - #downloading ruby-2.3.0, this may take a while depending on your connection...  
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current Dload  Upload   Total   Spent    Left  Speed  
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
Warning: Failed to create the file ruby-2.3.0.tar.bz2.part: Permission denied  
0 13.5M    0 16384    0     0  19826      0  0:11:55 --:--:--  0:11:55 19811  
curl: (23) Failed writing body (0 != 16384)  
There was an error(23).  
Checking fallback: https://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
Warning: Failed to create the file ruby-2.3.0.tar.bz2.part: Permission denied  
     0 13.5M    0 16149    0     0   7324      0  0:32:16  0:00:02  0:32:14  7323  
curl: (23) Failed writing body (0 != 16149)  
There was an error(23).  
Failed download  
There has been an error fetching the ruby interpreter. Halting the installation.
</code></pre>

<p>Is that a general problem for 16.04? The exact method worked fine under 15.10. Any ideas how this can be fixed?</p>