24 questions
0 votes
1 answer
203 views
Error installing ruby 3.1.0 with ruby-build on Arch Linux / Manjaro
I'm trying to install Ruby 3.1.0 on my machine, but it fails with: BUILD FAILED (ManjaroLinux 25.0.2 on x86_64 using ruby-build 20250529.1) It works with version 3.2.0 and up. I can't figure what is ...
0 votes
1 answer
343 views
Installing gdbm in a Oracle Linux 9 Slim container using microdnf returning error: No package matches 'gdbm'
I'm building Ruby from source as we need a specific version that's unavailable from the repositories (3.2.2). The base image is Oracle Linux Slim, so we're using microdnf. I'm using ruby-env/ruby-...
8 votes
3 answers
6k views
Ruby 3.0.2 installation build fails with "error: 'maybe_unused' attribute cannot be applied to types"
I am working on a project that requires ruby 3.0.2 using the x86_64 architecture but I am on an M1 macbook (macos 15.0 Sequoia). I have setup my dev environment with openssl 1.1, readline, libyaml, ...
1 vote
0 answers
213 views
install ruby with asdf hangs forever
I am using asdf-ruby to install ruby 3, using chef execute. execute 'install_ruby_with_asdf' do command "#{asdf} install ruby #{ruby_version}" action :run user user ...
0 votes
0 answers
762 views
error when installing Ruby 3.1.4 on Mac M1 with asdf
I'm trying to install ruby 3.1.4 with asdf on a Macbook Pro but am getting a constant error of: 6557 compiling ripper.c 6558 readline.c:1903:37: error: use of undeclared identifier '...
1 vote
0 answers
553 views
BUILD FAILED (macOS 12.7 on x86_64 using ruby-build 20231114)
I'm installing ruby 2.7.5 with command RUBY_CFLAGS="-Wno-error=implicit-function-declaration" rbenv install 2.7.5 some lines of insallation messages: *** Following extensions are not ...
2 votes
0 answers
5k views
Getting BUILD FAILED (macOS 13.2.1 on arm64 using ruby-build 20231114) using M2 Macbook
I am currently on ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin22]. I am trying to install Ruby 3.2.2 on Macbook Ventura 13.2.1. These are the steps I've followed: brew install ruby-...
-2 votes
1 answer
1k views
How to install ruby-build for rbenv on Ubuntu?
I installed rbenv. What is the easiest way to install ruby-build? I've tried brew, but it displayed few errors.
2 votes
0 answers
162 views
Efficiently running isolated 'bundle' invocations in parallel
I'm writing a developer tool for Ruby and as part of testing it against various gems, I'm running bundle commands like bundle cache and bundle install --local, which modify the state inside the Ruby ...
1 vote
1 answer
3k views
Ruby won't install new version
I'm trying to install Ruby 2.7.6 but when I run % rbenv version I get: rbenv: version 2.7.6' is not installed (set by /Users/[USER]/Documents/[FOLDER]/.ruby-version) I have file .ruby-version ...
0 votes
0 answers
3k views
Ruby version `ruby-3.1.2' is not installed after spring stop
Truly I don't get it what is wrong. I've got fresh project with Rails 7 and Ruby 3.1.2 which I thought I had installed successfully, based on my iTerm2 console: $ ruby --version ruby 3.1.2p20 (2022-04-...
1 vote
0 answers
1k views
Ruby rbenv ERROR: Ruby install aborted due to missing extensions
I want to install Ruby 3.1.2 using rbenv but for some indescribable reason I end up with the following error: BUILD FAILED (macOS 12.4 using ruby-build 20220713) Inspect or clean up the working tree ...
0 votes
1 answer
685 views
Ruby 3.0.3 install stdlib.h insert _Nonnull if the pointer should never be null
I can't install ruby 3.0.3. Tried many different options. rbenv install 3.0.3 Downloading openssl-1.1.1l.tar.gz... -> https://dqw8nmjcqpjn7.cloudfront.net/...
8 votes
4 answers
7k views
Why do I get the error 'The Ruby openssl extension was not compiled ERROR: Ruby install aborted due to missing extensions'?
When I run RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl@3/3.0.1 rbenv install 3.1.0 I get this output: Downloading ruby-3.1.0.tar.gz... -> https://cache.ruby-lang.org/pub/ruby/3....
7 votes
1 answer
7k views
BUILD FAILED (macOS 12.1 using ruby-build 20211203 (ruby 3.0.2) macOS Monterey
After upgrading to the latest macOS (Monterey), I was unable to install the new ruby version (3.0.2). Has anyone had a similar issue that they were able to resolve? Downloading openssl-1.1.1l.tar.gz......