I'm using EC2 and trying to run basic ruby commands. I have Ruby and Rails installed. From gem list:
[root] gem list
*** LOCAL GEMS ***
rails (4.1.4)
[root]# rails generate controller common bash: rails: command not found
Any thoughts? Rails is in there, but why can't it find the rails command? (This is all on EC2)