I ran rails-installer.sh on ubuntu 12.04. The scripts reports that ruby and gems and rails all installed without problem.
However, when I try:
ruby -v
rails -v
etc.
They all report "command not found".
I am new to linux... what am I missing here?
Arghh.. never mind. sometimes the simple things really do elude me.
The path change do not take effect until you start a new shell.
All is well now.
Just search for every *.bat file inside the C:\RailsInstaller\Ruby2.2.0\bin folder which contains "emachnic" paths, and replace the whole content of them with this code:
For more details refer the link. https://github.com/railsinstaller/railsinstaller-windows/issues/70