![]() 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. $ ruby-build -definitions # lists all available versions of Ruby $ rbenv install 2.2.0 # installs Ruby 2.2.0 to ~/.rbenv/versions # As a standalone program $ rbenv install -list # lists all available versions of Ruby
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |