Rails commands not working on raspberry pi though it is installed
<p>I've been setting up a server on my Raspberry Pi but for some reason when I SSH into the pi I can use the rails commands and start the Rails server but whenever I go into the terminal of the Pi itself it says:</p>

<pre><code>bash: rails: command not found
</code></pre>

<p>Does someone know how to fix this? How can I make the rails command possible on the Pi terminal?</p>

<p>Thanks in advance!</p>