Home Download Buy Blog Forum Support

Environment for build commands on OS X?

Environment for build commands on OS X?

Postby Phrogz on Thu Oct 13, 2011 10:51 pm

The Ruby build system finds /usr/bin/ruby on OS X, which is the default install. I'd like to instead run /usr/local/bin/ruby (which is normally in my PATH via my .bashrc).

How do I change/set the environment for running build commands?

(For now I've edited the Ruby.sublime-build file to hardcode the path to the Ruby executable, but that's a weak hack and won't serve for other environment changes I may wish to make, such as LOCALE.)
Phrogz
 
Posts: 18
Joined: Tue Mar 02, 2010 4:21 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 9 guests