J'ai besoin de créer un nouveau chemin dans OS X Mavericks.
Pour ce faire, j'ai édité .bash_profile
:
export LC_ALL = "en_US.UTF-8" export PGHOST = localhostexport PATH = $ PATH: / usr / local / heroku / binexport PATH = $ PATH: /Applications/Postgres93.app/Contents/MacOS/bin
Mais ça ne marche pas. Lorsque je tape echo $ PATH, le résultat est:
/usr/local/heroku/bin:/usr/local/rvm/gems/ruby-2.0.0-p0/bin:/ usr/local/rvm/gems/ruby-2.0.0-p0@global/bin: /usr/local/rvm/rubies/ruby-2.0.0-p0/bin: / usr / local / rvm / bin: / usr /bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/nicolas/.rvm/bin:/usr/local/rvm/bin
Voici le contenu de mon fichier .bashrc
:
PATH = $ PATH: $ HOME / .rvm / bin # Ajoutez RVM à PATH pour scriptingPATH = $ PATH: / usr / local / rvm / bin # Ajouter RVM à PATH pour le script
Je n'ai pas (ou ne trouve pas) de fichier .profile
.
Qu'est-ce que je fais de mal?