RUBY-BUILD(1) | RUBY-BUILD(1) |
ruby-build - utility to compile and install Rubies
ruby-build [OPTIONS...] DEFINITION PREFIX
ruby-build --definitions
ruby-build --version
ruby-build [-h|--help]
rbenv install [OPTIONS...] [DEFINITION]
rbenv install [-l|--list]
rbenv uninstall [-f|--force] DEFINITION
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
ruby-build downloads, builds and installs the Ruby version specified in a DEFINITION into a PREFIX directory. Definitions can be chosen from the list of installed definitions or by specifying a file path for a definition.
rbenv(1) users can also use the provided rbenv install command, which installs Rubies into the rbenv directory.
--definitions
-f, --force
-k, --keep
-p, --patch
-v, --verbose
--version
-h, --help
Install Ruby 2.0.0 (MRI, patch level 0) to ~/rubies/mri-2.0.0:
ruby-build 2.0.0-p0 ~/rubies/mri-2.0.0
Install Ruby Enterprise Edition 1.8.7 (patch level 2011.03) for rbenv(1):
rbenv install ree-1.8.7-2011.03
Install local app-specific Ruby version:
rbenv install
Install Ruby from a custom definition into ~/your-ruby:
rbenv install /path/to/your/own/ruby/definition ~/your-ruby
Install Ruby 2.0.0-p0, applying the patch in /path/to/some.patch:
rbenv install --patch 2.0.0-p0 < /path/to/some.patch
CC
CONFIGURE_OPTS
MAKE
MAKE_OPTS
MAKEOPTS
RUBY_BUILD_BUILD_PATH
RUBY_BUILD_CACHE_PATH
RUBY_BUILD_DEFINITIONS
RUBY_BUILD_MIRROR_URL
RUBY_BUILD_ROOT
RUBY_BUILD_SKIP_MIRROR
RUBY_CFLAGS
RUBY_CONFIGURE_OPTS
RUBY_MAKE_OPTS
TMPDIR
ruby-build is developed by Sam Stephenson <sam@37signals.com>.
This man page was written for the Debian GNU/Linux distribution by Sebastian Boehm <sebastian@sometimesfood.org> but may be used by others.
2017-08-27 |