essentialkaos / rbinstall Goto Github PK
View Code? Open in Web Editor NEWUtility for installing prebuilt Ruby versions to RBEnv
Home Page: https://kaos.sh/rbinstall
License: Apache License 2.0
Utility for installing prebuilt Ruby versions to RBEnv
Home Page: https://kaos.sh/rbinstall
License: Apache License 2.0
System info:
rbinstall --version
): 0.18.0/etc/*-release
): CentOS 6.9, CentOS 7.4.1708uname -a
): Linux 0b4015909cd2 4.9.87-linuxkit-aufs (official Docker image for CentOS 6 and CentOS 7: centos:6
and centos:7
)Steps to reproduce:
Install jRuby 1.6.3 via rbinstall
utility.
Expected behavior:
jRuby is successfully installed.
Actual behavior:
jRuby installation is failing.
Additional info:
List of affected versions:
Here is the content of /tmp/rbinstall-fail.log
logging file:
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
I suppose that would be great to be able to uninstall Ruby from the system. It might help if you need to remove installed Ruby by mistake. Also it a great chance to integrate RBInstall with SCM systems (such as Ansible, SaltStack etc.) which are already uses similar interfaces (like present
or absent
states in Ansible) for other package managers.
System info:
rbinstall --version
): 0.18.0/etc/*-release
): CentOS 6.9, CentOS 7.4.1708uname -a
): Linux f950a7f5e375 4.9.87-linuxkit-aufs (see official CentOS 7 Docker image with the name centos:6
or centos:7
)Steps to reproduce:
Install Ruby 1.9.2-p330 via rbinstall
utility.
Expected behavior:
Ruby 1.9.2-p330 is successfully installed.
Actual behavior:
Ruby installation is failing.
List of affected versions:
Additional info:
Here is the following content from /tmp/rbinstall-fail.log
logging file:
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
SSL_read:: shutdown while in init
It is necessary to be able to disable the indicator to avoid getting very long logs with every sprite of the indicator showing on a separate line.
System info:
rbinstall --version
): 0.17.0/etc/*-release
): CentOS Linux release 7.4.1708 (Core)uname -a
): Linux b7c93bac75ef 4.9.49-moby #1 SMP Wed Sep 27 23:17:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce:
Run the following command to install Ruby 1.9.3-p551:
rbinstall -R 1.9.3-p551
Expected behavior:
Ruby, RubyGems and Bundler are installed without any errors.
Actual behavior:
✔ Checking sha1 checksum (< 1 second)
✔ Unpacking 7z archive (2 seconds)
✔ Checking binary (< 1 second)
✖ Updating RubyGems to 2.6.14 (< 1 second)
Can't update rubygems. Update command output saved as /tmp/rbinstall-fail.log
✖ Installing bundler (< 1 second)
Can't install gem bundler. Gem command output saved as /tmp/rbinstall-fail.log.
Additional info:
$ cat /tmp/rbinstall-fail.log
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
Proposal:
Add versioning support for gems:install
in configuration file.
Current behavior:
rbinstall
installs the latest available version from RubyGems.
Desired behavior:
rbinstall
installs specified version from gems:install
with widely-known RubyGem's versions specifiers.
Use case:
rbinstall
installs gem bundler
by default as it specified in configuration file. On January, 3rd Bundler development team released 2.0.0 version (and 2.0.1 one day after) which has a list of breaking changes.
In particular, bundler 2.x is unable to install gems if Gemfile.lock
contains version lower than 2.x., and vice-versa. It means that any application which relies on Bundler 1.x. will be broken after (re-)installation Ruby via rbinstall
after January, 3.
Maybe we should install two versions of bundler with fixed versions of 1.x and 2.x. and let Bundler choose which version it should use during on dependencies installation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.