Giter Site home page Giter Site logo

gongled / rbbuild Goto Github PK

View Code? Open in Web Editor NEW

This project forked from essentialkaos/rbbuild

0.0 0.0 0.0 1.01 MB

Utility for compiling and installing different Ruby versions

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

License: Apache License 2.0

Shell 61.50% Roff 38.50%

rbbuild's Introduction

GitHub Actions Status

Usage demoInstallationUsageBuild StatusLicense


rbbuild is utility for compiling and installing different Ruby versions.

Usage demo

demo

Installation

sudo yum install -y https://yum.kaos.st/get/$(uname -r).rpm
sudo yum install rbbuild

Using install.sh

We provide simple bash script script.sh for installing app from the sources.

# install p7zip, bash and gawk

git clone https://github.com/essentialkaos/rbbuild.git
cd rbbuild

sudo ./install.sh

If you have some issues with installing, try to use script in debug mode:

sudo ./install.sh --debug

Usage

Usage: rbbuild {definition-file} {options}...

Options:

  --prefix, -p path           Path where you want to install selected ruby version
  --dest-dir, -d path         Path where you want to install selected ruby version (used for 'make install')
  --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 (insecure!)
  --list, -l                  List of all definition files
  --mirror, -m name           Mirror name for downloading source archives from it
  --mirror-list, -ml          Show list of all available mirrors
  --dl-cache, -dc path        Path to download cache
  --rbenv, -r                 Automatically install to rbenv (--prefix not required)
  --name, -rn name            Define name of ruby in rbenv (--rbenv required)
  --strict, -S                Fail build if configure stage return non zero exit code
  --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
  --no-colors, -nc            Don't use colors in output
  --help, -h                  Show this help message
  --version, -v               Show information about version

Examples:

  rbbuild 2.1.1-p0 -t 4 -m somemirror
  rbbuild 2.1.1-p0 -t 8 -r -cc clang
  rbbuild 2.1.1-p0 -p /home/user/ruby-2.1.1
  rbbuild 2.1.1-p0 -r mysuper-2.2.1
  rbbuild 1.9.3

Build Status

Branch Status
master CI
develop CI

License

Apache License, Version 2.0

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.