I installed a few Ruby gems on a new install of Ubuntu 9.10, and after a few tries at running one, I realized that they failed because the PATH value did not contain their locations. SO I used the following command:
PATH=$PATH:/path/to/gem export PATH
When I would echo the PATH, I would see my change in there. But when I opened a new tab on the console, or restarted it, my changes are gone.
I'm not sure what is the problem. Can anyone shed some light on it please?