<commit_before># ruby-install

Installs Ruby, JRuby or Rubinius.

## Features

* Allows installing arbitrary versions.
* Allows installing into arbitrary directories.
* Allows apply arbitrary patches.
* Allows specifying arbitrary `./configure` options.
* Automatically installs dependencies via the package manager.

## Anti-Features

* Does not require updating every time a new Ruby version comes out.
* Does not require recipes for each individual Ruby version or configuration.

## Requirements

* [bash]

## Examples

Install the current stable version of Ruby:

    $ ruby-install ruby

Install a specific version of Ruby:

    $ ruby-install ruby 1.9.3-p395

## Alternatives

* [RVM]
* [ruby-build]

[bash]: http://www.gnu.org/software/bash/
[RVM]: https://rvm.io/
[ruby-build]: https://github.com/sstephenson/ruby-build#readme<commit_msg>Mention the package managers we support.<commit_after># ruby-install

Installs Ruby, JRuby or Rubinius.

## Features

* Allows installing arbitrary versions.
* Allows installing into arbitrary directories.
* Allows apply arbitrary patches.
* Allows specifying arbitrary `./configure` options.
* Automatically installs dependencies via the package manager.
* Auto-detects the package manager:
  * [apt]
  * [yum]
  * [brew]

## Anti-Features

* Does not require updating every time a new Ruby version comes out.
* Does not require recipes for each individual Ruby version or configuration.

## Requirements

* [bash]

## Examples

Install the current stable version of Ruby:

    $ ruby-install ruby

Install a specific version of Ruby:

    $ ruby-install ruby 1.9.3-p395

## Alternatives

* [RVM]
* [ruby-build]

[apt]: http://wiki.debian.org/Apt
[yum]: http://yum.baseurl.org/
[brew]: http://mxcl.github.com/homebrew/

[bash]: http://www.gnu.org/software/bash/

[RVM]: https://rvm.io/
[ruby-build]: https://github.com/sstephenson/ruby-build#readme
{'fraction_non_alphanumeric': 0.11234177215189874, 'fraction_numerical': 0.006329113924050633, 'mean_word_length': 4.085790884718499, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1284164', 'n_tokens_mistral': 616, 'n_tokens_neox': 566, 'n_words': 191}