All Projects → postmodern → Ruby Install

postmodern / Ruby Install

Licence: mit
Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects
Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to Ruby Install

Rvm
Ruby enVironment Manager (RVM)
Stars: ✭ 4,700 (+184.68%)
Mutual labels:  jruby, rubinius, mruby, truffleruby
rubircd
💬 An IRC server written in Ruby
Stars: ✭ 23 (-98.61%)
Mutual labels:  jruby, rubinius
warm-blanket
Ruby gem for warming up web services on boot
Stars: ✭ 1 (-99.94%)
Mutual labels:  jruby, truffleruby
Have It
The fastest NPM install does nothing because you already have it
Stars: ✭ 75 (-95.46%)
Mutual labels:  installer
Esvu
esvu is your one-stop shop for all implementations of ECMAScript.
Stars: ✭ 78 (-95.28%)
Mutual labels:  installer
March hare
Idiomatic, fast and well-maintained JRuby client for RabbitMQ
Stars: ✭ 97 (-94.12%)
Mutual labels:  jruby
Scorched earth
Scorched Earth clone in JRuby with no dependencies.
Stars: ✭ 126 (-92.37%)
Mutual labels:  jruby
Elasticsearch Setup
elasticsearch oss installer for windows.
Stars: ✭ 74 (-95.52%)
Mutual labels:  installer
Bpkg
Lightweight bash package manager
Stars: ✭ 1,601 (-3.03%)
Mutual labels:  installer
Slpkg
📦 Mirror of slpkg repository
Stars: ✭ 86 (-94.79%)
Mutual labels:  installer
Neuron
Python project for creating desktop applications with HTML and Javascript
Stars: ✭ 86 (-94.79%)
Mutual labels:  installer
Githacktools
The best Hacking and PenTesting tools installer on the world
Stars: ✭ 78 (-95.28%)
Mutual labels:  installer
Embulk Output Bigquery
Embulk output plugin to load/insert data into Google BigQuery
Stars: ✭ 99 (-94%)
Mutual labels:  jruby
Getchromium
Installs the latest build of Chromium on Android & Chrome OS.
Stars: ✭ 77 (-95.34%)
Mutual labels:  installer
Winbox Installer
Install winbox in fedora/ubuntu linux, using wine
Stars: ✭ 120 (-92.73%)
Mutual labels:  installer
Installer
dmd installers for various systems
Stars: ✭ 74 (-95.52%)
Mutual labels:  installer
Shoes4
Shoes 4 : the next version of Shoes
Stars: ✭ 1,509 (-8.6%)
Mutual labels:  jruby
Project
⭐️ Antares Project Application Skeleton. This is the very first place you should start. It allows you to create a brand new awesome project in easy few steps.
Stars: ✭ 84 (-94.91%)
Mutual labels:  installer
Clr Installer
Clear Linux* OS Installer
Stars: ✭ 80 (-95.15%)
Mutual labels:  installer
Goup
Elegant Go installer
Stars: ✭ 94 (-94.31%)
Mutual labels:  installer

ruby-install

Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby.

Features

  • Supports installing arbitrary versions.
  • Supports downloading the latest versions and checksums from ruby-versions.
  • Supports installing into /opt/rubies/ for root and ~/.rubies/ for users by default.
  • Supports installing into arbitrary directories.
  • Supports downloading from arbitrary URLs.
  • Supports downloading from mirrors.
  • Supports downloading/applying patches.
  • Supports specifying arbitrary ./configure options.
  • Supports downloading archives using wget or curl.
  • Supports verifying downloaded archives via MD5, SHA1, SHA256 or SHA512 checksums.
  • Supports installing build dependencies via the package manager:
  • Has tests.

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.
  • Does not support installing trunk/HEAD or nightly rolling releases.
  • Does not support installing unsupported/unmaintained versions of Ruby.

Requirements

  • bash >= 3.x
  • grep
  • wget > 1.12 or curl
  • md5sum or md5
  • sha1sum or sha1
  • sha256sum or sha256
  • sha512sum or sha512
  • tar
  • bzip2
  • patch (if --patch is specified)
  • gcc >= 4.2 or clang

Synopsis

List supported Rubies and their major versions:

$ ruby-install

List the latest versions:

$ ruby-install --latest

Install the current stable version of Ruby:

$ ruby-install ruby

Install the latest version of Ruby:

$ ruby-install --latest ruby

Install a stable version of Ruby:

$ ruby-install ruby 2.3

Install a specific version of Ruby:

$ ruby-install ruby 2.2.4

Install a Ruby into a specific directory:

$ ruby-install --install-dir /path/to/dir ruby

Install a Ruby into a specific rubies directory:

$ ruby-install --rubies-dir /path/to/rubies/ ruby

Install a Ruby into /usr/local:

$ ruby-install --system ruby 2.4.0

Install a Ruby from an official site with directly download:

$ ruby-install -M https://ftp.ruby-lang.org/pub/ruby ruby 2.4.0

Install a Ruby from a mirror:

$ ruby-install -M http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby ruby 2.0.0-p645

Install a Ruby with a specific patch:

$ ruby-install -p https://raw.github.com/gist/4136373/falcon-gc.diff ruby 1.9.3-p551

Install a Ruby with a specific C compiler:

$ ruby-install ruby 2.4.0 -- CC=gcc-4.9

Install a Ruby with specific configuration:

$ ruby-install ruby 2.4.0 -- --enable-shared --enable-dtrace CFLAGS="-O3"

Install a Ruby without installing dependencies first:

$ ruby-install --no-install-deps ruby 2.4.0

Uninstall a Ruby version:

$ rm -rf ~/.rubies/ruby-2.4.0

Integration

Using ruby-install with RVM:

$ ruby-install --rubies-dir ~/.rvm/rubies ruby 2.4.0

Using ruby-install with rbenv:

$ ruby-install --install-dir ~/.rbenv/versions/2.4.0 ruby 2.4.0

ruby-install can even be used with Chef.

Install

wget -O ruby-install-0.8.3.tar.gz https://github.com/postmodern/ruby-install/archive/v0.8.3.tar.gz
tar -xzvf ruby-install-0.8.3.tar.gz
cd ruby-install-0.8.3/
sudo make install

PGP

All releases are PGP signed for security. Instructions on how to import my PGP key can be found on my blog. To verify that a release was not tampered with:

wget https://raw.github.com/postmodern/ruby-install/master/pkg/ruby-install-0.8.3.tar.gz.asc
gpg --verify ruby-install-0.8.3.tar.gz.asc ruby-install-0.8.3.tar.gz

Homebrew

ruby-install can also be installed with homebrew:

brew install ruby-install

Or the absolute latest ruby-install can be installed from source:

brew install ruby-install --HEAD

Arch Linux

ruby-install is already included in the AUR:

yaourt -S ruby-install

Fedora Linux

ruby-install is available on Fedora Copr.

FreeBSD

There is a FreeBSD port of ruby-install which can be copied into the local ports tree.

Known Issues

Please see the wiki.

Alternatives

Endorsements

I like the approach you're taking. Curious to see how it plays out.

-- Sam Stephenson of rbenv

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].