Will fall back to downloading the package from the original location if: (note: this is the complete URL), where is the checksum for the file. ![]() Ruby-build will first try to fetch this package from $RUBY_BUILD_MIRROR_URL/ Use ANSI colors in output even when not connected to a terminal.īoth rbenv install and ruby-build commands support the -p/-patch flag to apply a patch to the Ruby source code before building. The default is to use colors for output connected to a terminal. configure options (applies only to Ruby source).Īdditional make options (applies only to Ruby source).Īdditional make install options (applies only to Ruby source).ĭisable ANSI colors in output. (Colon-separated list)Īdditional CFLAGS options ( e.g., to override -O3).Īdditional. Override the URL to fetch the ruby tarball from, optionally followed by #checksum.Ī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 Extracts the archive into a temporary directory on your system.Downloads an official tarball of Ruby source code.Please ensure that all requisite libraries such as build tools and development headers are already present on your system.īasically, what ruby-build does when installing a Ruby version is this: Ruby-build mostly does not verify that system dependencies are present before downloading and attempting to compile Ruby from source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |