Q:

Install rails from gem

I installed ruby and next rails as a gem with this command
gem install rails -include-dependencies

It installed successfully but even after restarting my command window i couldnt run commands like:
rails 

or 
rails s

My question is what do i have to add to my path so that rails is recognized in my command windwo?
----Update----
I ran gem list but rails isnt listed,
so i will reune the gem install rails command

A:

If you are using rvm you need to use the gemset of RVM in which you have installed your rails gem.
cmd for the same is 

rvm gemset list

will list the gemset persent in your version manager, later select the gemset with following command:

rvm gemset use [gemset_name]

hope am redirecting you in the right direction.

