Rails command doesn't work on linux

I am on a Linux server with limited access. Even if ruby and gems
commands are working fine for me, rails command doesn’t work. The
rails is already installed( rails packages are listed when I run gem
query --local)
Any ideas why rails command is not available?

[email protected] wrote:

I am on a Linux server with limited access. Even if ruby and gems
commands are working fine for me, rails command doesn’t work. The
rails is already installed( rails packages are listed when I run gem
query --local)
Any ideas why rails command is not available?

My guess is that it’s not in the bin directory. You might have to do an
absolute path command to the rails file, which can vary depending on
your machine. Do a google search for rails file path or something along
those lines.