I am trying to have my system automatically load a file containing some environment vars to use in my rails project instead of just exporting them to the shell but i just cant seem to get it working.
i'm using mac osx 10.6
these are steps i followed.
nano .bash_profile
export PATH=Users/Moshe/env_vars:$PATH
touch env_vars
nano env_vars
DEV_DB=TestDB
export DEV_DB
DEV_DB_HOST=12.34.56.78
export DEV_DB_HOST
exit
I reopen the shell and
printenv
but i don't see the vars i set
however i do see it Users/Moshe/env_vars
in the path when i echo $PATH
i have tried looking at this answer but i cant seem to see what im doing wrong