diff options
Diffstat (limited to 'man/ruby.1')
| -rw-r--r-- | man/ruby.1 | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/man/ruby.1 b/man/ruby.1 index b058acab97..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 . @@ -537,16 +546,16 @@ Introduced in Ruby 3.3, default: unset. .Pp .It Ev RUBY_PAGER The pager command that will be used for -.Pp -.It Ev RUBY_THREAD_TIMESLICE -Sets the default thread time slice (thread quantum) in milliseconds. -Introduced in Ruby 3.4, default: 100ms. .Fl -help option. 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 @@ -691,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 @@ -706,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. |
