From af1fb629e3e000624080d26149c9a2df75d3c99b Mon Sep 17 00:00:00 2001 From: aamine Date: Fri, 21 Nov 2003 05:49:59 +0000 Subject: * 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 --- ChangeLog | 4 ++++ ruby.1 | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/ChangeLog b/ChangeLog index f66f06f038..5e37c28142 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 21 14:49:42 2003 Minero Aoki + + * ruby.1: wrote about ruby related environment variables. + Fri Nov 21 01:40:00 2003 Hidetoshi NAGAI * configure.in: check diff --git a/ruby.1 b/ruby.1 index 49f32ced2b..5f11e4f230 100644 --- a/ruby.1 +++ b/ruby.1 @@ -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 . -- cgit v1.2.3