Coder Social home page Coder Social logo

essentialkaos / rbbuild Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 1.48 MB

Utility for compiling and installing different Ruby versions

Home Page: https://kaos.sh/rbbuild

License: Apache License 2.0

Shell 55.48% Roff 43.51% Makefile 1.00%
rbenv ruby jruby truffleruby

rbbuild's Introduction

GitHub Actions CI Status

Usage demoInstallationUsageCI StatusLicense


rbbuild is utility for compiling and installing different Ruby versions.

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 rbbuild

Using Makefile and Git

git clone https://kaos.sh/rbbuild.git
cd rbbuild
sudo make install

Usage

Usage: rbbuild {options} def-file target-dir

Options

  --threads, -t num           Number of threads for build process
  --no-patch, -np             Skip patch directives in definition file
  --cc-comp, -cc path/name    Path to C compiler
  --cxx-comp, -cxx path       Path to C++ compiler
  --ignore-checksums, -ic     Skip checksum check
  --ignore-loadavg, -il       Ignore check for high LA
  --mirror, -m name           Mirror name for downloading source archives from it
  --mirror-list, -L           Show list of all available mirrors
  --dl-cache, -dc path        Path to download cache
  --rbenv, -r                 Automatically install to RBEnv
  --name, -rn name            Define name of ruby in RBEnv (--rbenv is required)
  --proxy, -P url             Use HTTP proxy on given host and port
  --debug, -D                 Don't remove build directory and other build data after installation
  --output, -O path           Output path (default /dev/stdout)
  --quiet, -q                 Quiet mode
  --verbose, -V               Verbose mode
  --tmp, -T path              Path to temporary directory (used for unpacking files and build process)
  --yes, -y                   Answer "yes" to all questions
  --continue, -C              Don't clean prefix directory before build
  --no-colors, -nc            Don't use colors in output
  --no-spinner, -ns           Don't show spinner
  --help, -h                  Show this help message
  --version, -v               Show information about version

Examples

  rbbuild 2.7.5 /home/user/ruby-2.7.5 -t 4 -m essentialkaos
  Build 2.7.5 with sources from EK mirror using 4 threads

  rbbuild 3.0.5 /home/user/ruby-3.0.5
  Build 3.0.5 and install it to given directory

  rbbuild 3.1.1 -r
  Build 3.1.1 and install it to RBEnv

  rbbuild 3.1.1 | more
  Show def file for 3.1.1

CI Status

Branch Status
master CI
develop CI

License

Apache License, Version 2.0

rbbuild's People

Contributors

andyone avatar dependabot[bot] avatar gongled avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

rbbuild's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.