EnglishFrenchSpanish

OnWorks favicon

ruby-build - Online in the Cloud

Run ruby-build in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ruby-build that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ruby-build - utility to compile and install Rubies

SYNOPSIS


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

DESCRIPTION


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.

OPTIONS


--definitions
List available definitions.

-f, --force
When using rbenv-install, force installation of Ruby versions that are already
installed. When using rbenv-uninstall, uninstall without prompting for confirmation or
displaying an error message for Rubies that are not currently installed.

-k, --keep
Don’t delete source code after installation.

-p, --patch
Apply a patch from standard input to the Ruby, JRuby or Rubinius source code before
executing the ./configure step.

-v, --verbose
Display compiler messages on standard output.

--version
Show ruby-build version and exit.

-h, --help
Show usage information and exit.

EXAMPLES


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

ENVIRONMENT


CC
Sets the path to the C compiler.

CONFIGURE_OPTS
Options that are passed to ./configure when building a Ruby.

MAKE
Sets the command used for make.

MAKE_OPTS
Options that are passed to make when building a Ruby.

MAKEOPTS
Used instead of MAKE_OPTS when MAKE_OPTS is not defined.

RUBY_BUILD_BUILD_PATH
Sets the location in which sources are downloaded and built.

RUBY_BUILD_CACHE_PATH
Sets the location where downloaded package files are cached.

RUBY_BUILD_DEFINITIONS
Adds a colon-separated list of directories to the build definition path.

RUBY_BUILD_MIRROR_URL
Sets the root URL of the mirror from which package files are downloaded.

RUBY_BUILD_ROOT
If set, overrides the default location from where build definitions in
share/ruby-build/ are looked up.

RUBY_BUILD_SKIP_MIRROR
If set, forces ruby-build to download packages from their original source URLs instead
of using a mirror.

RUBY_CFLAGS
Options that are added to the default CFLAGS when building a Ruby.

RUBY_CONFIGURE_OPTS
Options that are passed to ./configure when building a Ruby. In contrast to
CONFIGURE_OPTS, these are only passed to Ruby and not to any dependent packages (such
as libyaml).

RUBY_MAKE_OPTS
Options that are passed to make when building a Ruby. In contrast to MAKE_OPTS, these
are only passed to Ruby and not to any dependent packages (such as libyaml).

TMPDIR
Sets the location where ruby-build stores temporary files.

AUTHORS


ruby-build is developed by Sam Stephenson <[email protected]>.

This man page was written for the Debian GNU/Linux distribution by Sebastian Boehm
<[email protected]> but may be used by others.

Use ruby-build online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad