diff options
Diffstat (limited to 'man/ruby.1')
| -rw-r--r-- | man/ruby.1 | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/man/ruby.1 b/man/ruby.1 index 905c712f4c..bc776b8946 100644 --- a/man/ruby.1 +++ b/man/ruby.1 @@ -1,6 +1,6 @@ .\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>. -.Dd April 14, 2018 -.Dt RUBY \&1 "Ruby Programmer's Reference Guide" +.Dd March 27, 2026 +.Dt RUBY 1 "Ruby Programmer's Reference Guide" .Os UNIX .Sh NAME .Nm ruby @@ -287,6 +287,8 @@ to the standard output. .It Fl -debug Turns on debug mode. .Li "$DEBUG" +and +.Li "$VERBOSE" will be set to true. .Pp .It Fl e Ar command @@ -521,6 +523,13 @@ variable is not defined, Ruby refers to If set, Ruby tries to free all dynamically allocated memories. Introduced in Ruby 3.3, default: unset. .Pp +.It Ev RUBY_BOX +If set to +.Li 1 , +Ruby Box is enabled and users will be able to execute +.Li Ruby::Box.new . +Ruby Box is an experimental feature introduced in Ruby 4.0. +.Pp .It Ev RUBY_IO_BUFFER_DEFAULT_SIZE The custom default buffer size of .Li IO::Buffer . @@ -543,6 +552,10 @@ Introduced in Ruby 3.0, default: .Ev PAGER environment variable. .Pp +.It Ev RUBY_THREAD_TIMESLICE +Sets the default thread time slice (thread quantum) in milliseconds. +Introduced in Ruby 3.4, default: 100ms. +.Pp .It Ev PATH Ruby refers to the .Ev PATH @@ -687,6 +700,16 @@ Frees stacks of pooled fibers, if set to 1. Do not free the stacks if set to 0. Introduced in Ruby 2.7, default: 1 (no growth) .Pp +.It Ev RUBY_SHARED_FIBER_POOL_MAXIMUM_COUNT +If set to a non-negative integer, the shared fiber pool cannot allocate more +than that many stacks; further fiber creation may fail with +.Va FiberError . +Unset or 0 means no explicit cap (subject to process limits). +.Pp +.It Ev RUBY_SHARED_FIBER_POOL_MINIMUM_COUNT +Initial and minimum growth chunk size for the shared fiber pool (stacks). +Unset uses the implementation default. +.Pp .El .Sh STACK SIZE ENVIRONMENT Stack size environment variables are implementation-dependent and @@ -702,11 +725,11 @@ All values are specified in bytes. .Bl -hang -compact -width "RUBY_THREAD_MACHINE_STACK_SIZE" .It Ev RUBY_THREAD_VM_STACK_SIZE VM stack size used at thread creation. -default: 524288 (32-bit CPU) or 1048575 (64-bit) +default: 524288 (32-bit CPU) or 1048576 (64-bit) .Pp .It Ev RUBY_THREAD_MACHINE_STACK_SIZE Machine stack size used at thread creation. -default: 524288 or 1048575 +default: 524288 or 1048576 .Pp .It Ev RUBY_FIBER_VM_STACK_SIZE VM stack size used at fiber creation. @@ -772,6 +795,17 @@ a program (or script) that is to be executed. .Pp The pipe template is split on spaces into an argument list before the template parameters are expanded. +.Sh MISC ENVIRONMENT +.Pp +.Bl -hang -compact -width "RUBY_TCP_NO_FAST_FALLBACK" +.It Ev RUBY_TCP_NO_FAST_FALLBACK +If set to +.Li 1 , +disables the fast fallback feature by default in TCPSocket.new and Socket.tcp. +When set to +.Li 0 +or left unset, the fast fallback feature is enabled. +Introduced in Ruby 3.4, default: unset. .Sh SEE ALSO .Bl -hang -compact -width "https://www.ruby-toolbox.com/" .It Lk https://www.ruby-lang.org/ |
