title: capistrano install not working in ubuntu 18.04
body: <p>I have recently updated my OS from Ubuntu 16.04 to 18.04.
  But now I have an issue with capistrano and ruby. 
  Indeed, I would like to deploy a php app with capistrano. 
  So I installed ruby with rbenv, bundler with gem and when I run "bundle install" everything is well installed. 
  My issue is when I run "cap install" to use capistrano and create all the files in my app. 
  I have the following message : 
  <code>/usr/bin/env: «ruby2.3»: No such file or directory</code></p>
  
  <p>Do you know how to solve it and use capistrano ? </p>
  
  <p>More informations : </p>
  
  <ul>
  <li>ruby version : ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-linux]</li>
  <li>I have followed the following instructions to install ruby : <a href="https://gorails.com/setup/ubuntu/18.04" rel="nofollow noreferrer">https://gorails.com/setup/ubuntu/18.04</a></li>
  <li>I have zsh so I replaced .bashrc by .zshrc</li>
  </ul>
  
  <p>Thanks by advance.</p>