ruby 环境变量_使用Ruby环境变量
ruby 环境变量
Environment variables are variables passed to programs by the command line or the graphical shell. When an environment variable is referred to, its value (whatever the variable is defined as) is then referenced.
环境变量是通过命令行或图形外壳传递给程序的变量。 引用环境变量时,将引用其值(无论该变量定义为什么)。
Though there are a number of environment variables that only affect the command line or graphical shell itself (such as PATH or HOME), there are also several that directly affect how Ruby scripts execute.
尽管有许多环境变量仅影响命令行或图形外壳程序本身(例如PATH或HOME),但也有许多直接影响Ruby脚本执行方式的环境变量。
Tip: Ruby environment variables are similar to ones found in the Windows OS. For example, Windows users may be familiar with a TMP user variable to define the location of the temporary folder the for the currently logged in user.
提示
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
