![]() |
![]()
| ![]() |
![]()
NAMEronin-install - Installs Ruby, JRuby, TruffleRuby, or mruby SYNOPSISruby-install [options] [[RUBY | VERSION | RUBY-VERSION] [-- CONFIGURE_OPTS ...]] DESCRIPTIONInstalls a version of Ruby, JRuby, TruffleRuby, or mruby. https://github.com/postmodern/ruby-install#readme ARGUMENTS
OPTIONS
EXAMPLESList 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 FILES
ENVIRONMENT
AUTHORPostmodern postmodern.mod3@gmail.com SEE ALSOruby(1) , gem(1) , chruby(1) , chruby-exec(1)
|