Tatva-Artha

meaning of "it"

Archive for the ‘environment variable’ tag

Setting environment variables in Max OSX

without comments

Any a developer switching from linux to mac, the way to set environment variables is similar yet different enough that is annoying at times. I have so far failed to find a good documentation on where and how to set those in mac osx. Today I found one here.

My takeaway:

Mac OS X applies .bash_profile and .profile only for Terminal.app environment and Apple’s technical documentation suggests using ~/.MacOSX/environment.plist for other applications. So, by default PATH value will differ for RubyMine and the console.

For managing the global environments, it also recommends a system preference pane app. This worked for me.

Written by Sharad

May 16th, 2011 at 10:12 am

Posted in All,Technology

Tagged with , , ,