Skip to content

--no-install-deps causes an error from Homebrew and a configure warning #514

@monfresh

Description

@monfresh

Description

When using the --no-install-deps option and with Homebrew as the package manager, openssl_version here is nil, which results in this error and warning in the terminal:

Error: No available formula with the name "openssl@". Did you mean openssl@3, openssh, openslp, opensaml, opensc, opencsg, openfst, openmsx or open-sp?
configure: WARNING: you should use --build, --host, --target

Luckily, this does not prevent Ruby from installing successfully, but it would still be nice to fix this.

Steps To Reproduce

Steps to reproduce the bug:

  1. Install ruby-install via Homebrew on macOS Sequoia 15.6.1
  2. $ ruby-install --no-install-deps 3.4.5 (or any version you don't already have installed)

Expected Behavior

No errors or warning appear during the configuration step.

Actual Behavior

The following error and warning appear:

Error: No available formula with the name "openssl@". Did you mean openssl@3, openssh, openslp, opensaml, opensc, opencsg, openfst, openmsx or open-sp?
configure: WARNING: you should use --build, --host, --target

Environment

$ ruby-install --version
   ruby-install: 0.10.1
$ uname -a
Darwin 24.6.0 arm64
$ cc --version
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-darwin24.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ openssl version
OpenSSL 3.5.2 5 Aug 2025 (Library: OpenSSL 3.5.2 5 Aug 2025)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions