No command 'rvm' found, but there are 20 similar ones
<p>I followed the [Phusion Passenger guide][1] to install rvm on EC2. It states to do the following:</p>

<pre><code>$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
$ curl -sSL https://get.rvm.io | sudo bash -s stable
$ sudo usermod -a -G rvm `whoami`
$ if sudo grep -q secure_path /etc/sudoers; then sudo sh -c "echo export rvmsudo_secure_path=1 &gt;&gt; /etc/profile.d/rvm_secure_path.sh" &amp;&amp; echo Environment variable installed; fi
</code></pre>

<p>I log out and log back in and get the following:</p>

<pre><code>$ rvm
No command 'rvm' found, but there are 20 similar ones
rvm: command not found
</code></pre>

<p>I installed rvm as root, which what I wanted. I added my user to the rvm group and so I should have system wide access. The rvm files are still there:</p>

<pre><code>$ sudo find / -name "rvm"
/usr/local/rvm
/usr/local/rvm/src/rvm
/usr/local/rvm/src/rvm/lib/rvm
/usr/local/rvm/src/rvm/bin/rvm
/usr/local/rvm/src/rvm/scripts/rvm
/usr/local/rvm/lib/rvm
/usr/local/rvm/bin/rvm
/usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rvm-1.11.3.9/lib/rvm
/usr/local/rvm/scripts/rvm
</code></pre>

<p>Why can't my system find rvm?</p>