1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ruby.1: wrote about ruby related environment variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2003-11-21 05:49:59 +00:00
parent 1d68b43f82
commit af1fb629e3
2 changed files with 33 additions and 0 deletions

29
ruby.1
View file

@ -302,6 +302,35 @@ state messages during compiling scripts. You don't have to specify
this switch, unless you are going to debug the Ruby interpreter.
.El
.Pp
.Sh ENVIRONMENT
.Bl -tag -width "12"
.Pp
.It Sy "RUBYLIB"
A colon-separated list of directories
that are appended to ruby's library load path ($:).
e.g. RUBYLIB="$HOME/lib/ruby:$HOME/lib/rubyext"
.Pp
.It Sy "RUBYOPT"
Additional ruby options.
e.g. RUBYOPT="-w -Ke"
.Pp
.It Sy "RUBYPATH"
A colon-separated list of directories
that are used when ruby searches ruby programs for "ruby -S".
This variable precedes PATH environment variable.
.Pp
.It Sy "RUBYSHELL"
The path to the system shell command.
This environment variable is enabled for only mswin32, mingw32, and OS/2 platform.
When this variable is not defined, ruby refers to COMSPEC.
.Pp
.It Sy "PATH"
Ruby refers to PATH environment variable on calling Kernel#system.
.Pp
.It Sy "RUBYLIB_PREFIX"
This variable is obsolete.
.El
.Pp
.Sh AUTHORS
Ruby is designed and implemented by
.An Yukihiro Matsumoto Aq matz@netlab.jp .