I am trying to add ruby binaries to my path with this :
$ PATH=$PATH:/home/ehsan/.gem/ruby/2.3.0/bin
This works fine in that terminal session and I get :
$ rails -v
Rails 5.0.0
But after I close that terminal session and open new one and I enter rails :
$ rails -v
rails : command not found
Any ideas?