title: bash: /home/XXX/.rvm/scripts/rvm: No such file or directory
body: <p>I just walk-through with the installation of Ruby on Rails on Ubuntu using RVM.</p>
  <p>First I have logged in as the <strong>root</strong> user.</p>
  <p>Then I started with the following commands.</p>
  <ol>
  <li><p><code>\curl -sSL https://get.rvm.io | bash -s stable --rails</code></p>
  <p>It has been installed without any error.</p>
  </li>
  <li><p><code>source ~/.rvm/scripts/rvm</code></p>
  <p>When I run this command. It showing the error as <strong>bash: /home/XXX/.rvm/scripts/rvm: No such file or directory</strong></p>
  </li>
  </ol>
  <p>I added the <code>[[ -s &quot;$HOME/.rvm/scripts/rvm&quot; ]] &amp;&amp; . &quot;$HOME/.rvm/scripts/rvm&quot;</code> command in my <strong>.bashr</strong> file.</p>