GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ruby-install(1) User Manuals ruby-install(1)

ronin-install - Installs Ruby, JRuby, TruffleRuby, or mruby

ruby-install [options] [[RUBY | VERSION | RUBY-VERSION] [-- CONFIGURE_OPTS ...]]

Installs a version of Ruby, JRuby, TruffleRuby, or mruby.

https://github.com/postmodern/ruby-install#readme

Install Ruby by name. Must be either ruby, jruby, truffleruby, or mruby.
Optionally select the version of selected Ruby.
Additional optional configure arguments.

Specifies the alternate directory where other Ruby directories are installed, such as ~/.rvm/rubies or ~/.rbenv/versions. Defaults to /opt/rubies for root and ~/.rubies for normal users.
Specifies the directory where Ruby will be installed. Defaults to /opt/rubies/$ruby-$version for root and ~/.rubies/$ruby-$version for normal users.
Alias for -i DIR.
Alias for -i /usr/local.
Specifies the directory for downloading and unpacking Ruby source.
Remove the downloaded Ruby archive and unpacked source-code after installation.
Specifies the number of make jobs to run in parallel when compiling Ruby. If the -j option is provided without an argument, make will allow an unlimited number of simultaneous jobs.
Specifies any additional patches to apply.
Specifies an alternate mirror to download the Ruby archive from.
Alternate URL to download the Ruby archive from.
Specifies the MD5 checksum for the Ruby archive.
Specifies the SHA1 checksum for the Ruby archive.
Specifies the SHA256 checksum for the Ruby archive.
Specifies the SHA512 checksum for the Ruby archive.
Use an alternative package manager.
Use the previously downloaded Ruby archive.
Do not verify the downloaded Ruby archive.
Do not extract the downloaded Ruby archive. Implies --no-download and --no-verify.
Do not install build dependencies before installing Ruby.
Skip installation if another Ruby is detected in same location.
Downloads the latest ruby versions and checksums from the ruby-versions repository (https://github.com/postmodern/ruby-versions#readme).
Enable debugging messages.
Prints the current ruby-install version.
Prints a synopsis of ruby-install usage.

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 latest version of Ruby:

$ ruby-install ruby 3.1

Install a specific version of Ruby:

$ ruby-install ruby 3.1.2

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:

$ sudo ruby-install --system ruby 3.1.2

Install a Ruby from a mirror:

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

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 specific configuration:

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

Install CRuby with jemalloc support:

$ ruby-install ruby 3.1.2 -- --with-jemalloc

Install CRuby with YJIT support:

$ ruby-install ruby 3.2.0 -- --enable-yjit

Using ruby-install with [RVM]:

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

Using ruby-install with [rbenv]:

$ ruby-install -i ~/.rbenv/versions/2.4.0 ruby 3.1.2

Uninstall a Ruby version:

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

/usr/local/src
Default root user source directory.
~/src
Default non-root user source directory.
/opt/rubies/$ruby-$version
Default root user installation directory.
~/.rubies/$ruby-$version
Default non-root user installation directory.

Overrides the default source directory.
Overrides the default installation directory.
Explicitly sets the package manager to use.

Postmodern postmodern.mod3@gmail.com

ruby(1) , gem(1) , chruby(1) , chruby-exec(1)

Aug 2018 ruby-install

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.