How do I change PATH for RubyMine system-wide?
In RubyMine the PATH when running rake tasks, for example, never contains /usr/local/bin, which I need because git is in开发者_JAVA百科 there.
Is there a rubyMine-wide config of PATH, so I don't have to modify each target?
Set your environment variables in ~/.MacOSX/environment.plist
or use the Environment Variables Preference Pane and they will apply to all of your applications. See Tip: How to setup Environment variables for RubyMine on Mac OS X
for more information.
RubyMine does not currently have an app-wide PATH
setting.
In Mountain Lion there is no longer any reliable way to set the environment like there was using Environment Variables Preference Pane or ~/.MacOSX/environment.plist
.
The easiest way to get the same environment in RubyMine as you have in the terminal is to launch RubyMine from Terminal with this:
open -a /Applications/RubyMine.app/
精彩评论