
configure options (applies only to Ruby source).Īdditional make options (applies only to Ruby source).Īdditional make install options (applies only to Ruby source).īoth rbenv install and ruby-build commands support the -p/-patch flag to apply a patch to the Ruby source code before building. (Colon-separated list)Īdditional CFLAGS options ( e.g., to override -O3).Īdditional. (Default: share/ruby-build)Īdditional paths to search for build definitions. (Default: first one found in PATH)Īdditional options to pass to aria2c for downloading.Īdditional options to pass to curl for downloading.Īdditional options to pass to wget for downloading.īypass the download mirror and fetch all package files from their original URLs.Ĭustom build definition directory. One of aria2c, curl, or wget to use for downloading. (Default: ~/.rbenv/cache if invoked as rbenv plugin) (Default: a timestamped subdirectory of TMPDIR) The build process may be configured through the following environment variables: Variable To install a version of Ruby that is not recognized by ruby-build, you can specify the path to a custom build definition file in place of a Ruby version number.Ĭheck out default build definitions as examples on how to write definition files. Verifies that the installed Ruby is functional.ĭepending on the context, ruby-build does a little bit more than the above: for example, it will try to link Ruby to the appropriate OpenSSL version, even if that means downloading and compiling OpenSSL itself it will discover and link to Homebrew-installed instances of some libraries like libyaml and readline, etc.configure -prefix=/path/to/destination in the source code


