[英]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 there. 例如,在RubyMine中,运行rake任务时的PATH永远不会包含/ usr / local / bin,因为git就在那里我需要它。
Is there a rubyMine-wide config of PATH, so I don't have to modify each target? 是否有一个rubyMine范围的PATH配置,所以我不必修改每个目标?
RubyMine does not currently have an app-wide PATH
setting. RubyMine目前没有应用程序范围的
PATH
设置。
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
. 在Mountain Lion中, 不再像使用环境变量首选项窗格或
~/.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: 在RubyMine中获得与终端中相同的环境的最简单方法是使用以下方法从终端启动RubyMine:
open -a /Applications/RubyMine.app/
Set your environment variables in ~/.MacOSX/environment.plist
or use the Environment Variables Preference Pane and they will apply to all of your applications. 在
~/.MacOSX/environment.plist
设置环境变量或使用环境变量首选项窗格 ,它们将应用于所有应用程序。 See Tip: How to setup Environment variables for RubyMine on Mac OS X for more information. 有关更多信息,请参阅提示:如何在Mac OS X上为RubyMine设置环境变量 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.