ruby-build
ruby-build copied to clipboard
A tool to download, compile, and install Ruby on Unix-like systems.
### Steps to reproduce the behavior Apply an incorrect patch to `readline.c` that causes compilation to fail (to mimic the situation I'm in, I don't have a minimal reproducer yet)....
### Steps to reproduce the behavior ``` ❯ rbenv --version rbenv 1.2.0 ❯ ruby-build --version ruby-build 20220726 ❯ env - PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin" RBENV_ROOT="slow" rbenv install 2.7.2 # Finishes in 4m 8s...
I’ve gone down a rabbithole of trying to figure out what the actual dependencies of `ruby-build` are on macOS and I’m seeing conflicting information in different places and I’d like...
This PR is an alternate approach to #1439. Credit goes to @puyo for identifying the issue. Looking through the code, I believe using `package_option` is the preferred way to add...
I had a old `jruby-dev` on my system, installed by `ruby-build jruby-dev ~/.rubies/jruby-dev`. Then I reinstalled the latest `jruby-dev` with the same command. The result is there is a mix...
closes #1928 turns out there already was a test for this behaviour but it was falsely passing due to `needs_yaml` (that was run only from tests) was calling `use_homebrew_yaml` (which...
This is work towards https://github.com/rbenv/ruby-build/issues/42 I have only confirmed this on Ubuntu x86_64, with MRI releases. There will need to be some more work to make it more generalized, and...
### Steps to reproduce the behavior * The wiki lists `libyaml-dev` as a recommended package: https://github.com/rbenv/ruby-build/wiki#ubuntudebianmint * However, the libyaml-dev version present in the packages for Ubuntu 20.04, 21.10 and...
this PR enable the downloading progress for curl and wget, so we can get clear about the progress while downloading the ruby source like this: ``` Downloading ruby-2.1.0.tar.gz... /tmp/ruby-build.20140327132203.5768 ~...
Homebrew is no longer located in `/usr/local` on Apple Silicon. It is now in `/opt/homebrew`. This leads to brew-originated yaml not being picked up during the build We should probably...