title: Cannot execute /usr/bin/ruby: No such file or directory on ubuntu server using RVM
body: <p>I am trying to run rails app in production on Ubuntu server, but it shows message that something went wrong. And in apache logs i found this:</p>
  
  <blockquote>
    <p>An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read Raw process output: <pre> <strong>* ERROR *</strong>: Cannot execute /usr/bin/ruby: No such file or directory (2) </pre></p>
  </blockquote>
  
  <p>Note that i am using rvm and my ruby path is different </p>
  
  <p>Using SSH everything works fine.</p>