Skip to content

essentialkaos/rbinstall

Repository files navigation

GoReportCard Code Climate Maintainability codebeat badge GitHub Actions CI Status GitHub Actions CodeQL Status

Usage demoInstallationUsageCI StatusContributingLicense

rbinstall is a utility for installing prebuilt Ruby to rbenv.

Note

Take a look at our FAQ for more information.

Usage demo

demo

Installation

sudo yum install -y https://pkgs.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install rbinstall

Usage

Usage: rbinstall {options} version

Options

  --reinstall, -R            Reinstall already installed version (if allowed in configuration file)
  --uninstall, -U            Uninstall already installed version (if allowed in configuration file)
  --reinstall-updated, -X    Reinstall all updated (rebuilt) versions (if allowed in configuration file)
  --gems-update, -G          Update gems for some version (if allowed in configuration file)
  --rehash, -H               Rehash rbenv shims
  --gems-insecure, -s        Use HTTP instead of HTTPS for installing gems
  --ruby-version, -r         Install version defined in version file
  --info, -i                 Print detailed info about version
  --all, -a                  Print all available versions
  --pager, -P                Use pager for long output
  --no-progress, -np         Disable progress bar and spinner
  --no-color, -nc            Disable colors in output
  --help, -h                 Show this help message
  --version, -v              Show version

Examples

  rbinstall 2.0.0-p598
  Install 2.0.0-p598

  rbinstall 2.0.0
  Install latest available release in 2.0.0

  rbinstall 2.0.0 -i
  Show details and available variations for 2.0.0

  rbinstall 2.0.0-p598-railsexpress
  Install 2.0.0-p598 with railsexpress patches

  rbinstall 2.0.0-p598 -G
  Update gems installed for 2.0.0-p598

  rbinstall 2.0.0-p598 --reinstall
  Reinstall 2.0.0-p598

  rbinstall -r
  Install version defined in .ruby-version file

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0