Automic VaultAutomic Vault

brew

Install ruby with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

Powerful, clean, object-oriented scripting language. Version 4.0.5 via Homebrew; verified 2026-07-03.

agent safety

Agent safety answer

ruby runs project tooling, package builds, and scripts that often sit near credentials.

Credential access

Reads environment variables, bundle config, gem credentials, and app secrets.

Remote mutation

Can run deploy scripts, API clients, and database tasks.

Publish/artifact risk

Can build or publish gems and generated application artifacts.

Recommended control

Gate gem publish, deploy tasks, and script execution with injected secrets.

Agent-use guidance

Allow local tests; require approval for publishing, deploy commands, and secret-backed tasks.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ruby

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ruby

MacPorts ports tree · lang/ruby/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ruby

Alpine Linux edge package indexes · ruby · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install ruby

Debian stable package indexes · ruby · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install ruby

Fedora Rawhide package metadata · ruby · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#ruby

nixpkgs package indexes · ruby · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S ruby

Arch Linux sync databases · ruby · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install ruby

openSUSE Tumbleweed package metadata · ruby · source: download.opensuse.org

overview

Package summary

Powerful, clean, object-oriented scripting language

Commands and aliases

  • bundle
  • bundler
  • erb
  • gem
  • irb
  • minitest
  • racc
  • rake
  • rbs
  • rdbg
  • rdoc
  • ri
  • ruby
  • syntax_suggest
  • test-unit
  • typeprof

security posture

Risk level: yellow

doc example: interpreter runtime.

Risk classifier

yellow risk · high confidence · runtime

Why

  • doc example: interpreter runtime

Signals

  • override:ruby

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.gem/credentials

executables

Installed executables

CommandKindExposureNote
bundlecliglobal executable
bundlercliglobal executable
erbcliglobal executable
gemcliglobal executable
irbcliglobal executable
minitestcliglobal executable
racccliglobal executable
rakecliglobal executable
rbscliglobal executable
rdbgcliglobal executable
rdoccliglobal executable
ricliglobal executable
rubycliglobal executable
syntax_suggestcliglobal executable
test-unitcliglobal executable
typeprofcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.0.5
manager updated2026-07-03
local dataok
upstreamnot checked
latest detectednot detected

https://www.ruby-lang.org/

install metadata

Package metadata

Package keybrew:ruby
Version4.0.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ruby
Homepagehttps://www.ruby-lang.org/
Repositoryhttps://github.com/ruby/ruby
Upstream docshttps://docs.ruby-lang.org/en
LicenseRuby
Source archivehttps://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.5.tar.gz
Last updated2026-07-03T00:24:54-04:00
Pulseupdated
Dependencieslibyaml, openssl@3
Build dependenciespkgconf, rust
Uses from macOSlibffi, libxcrypt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installdefined
Servicenone declared
CaveatsBy default, binaries installed by gem will be placed into: $HOMEBREW_PREFIX/lib/ruby/gems/4.0.0/bin You may want to add this to your PATH.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameruby
Aliases
  • ruby@4
  • ruby@4.0
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ruby 1:3.3+b1

Interpreter of object-oriented scripting language Ruby (default version)

https://www.ruby-lang.org/

sudo apt install ruby
  • Section: ruby
  • Architecture: amd64
  • Source Package: ruby-defaults
  • 3 dependencies
  • 3 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Ruby
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ruby

nix profile install nixpkgs#ruby
  • normalized package name match
  • Matched by: Ruby
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ruby from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

ruby 1:3.2~ubuntu1

Interpreter of object-oriented scripting language Ruby (default version)

https://www.ruby-lang.org/

sudo apt install ruby
  • Section: interpreters
  • Architecture: amd64
  • Source Package: ruby-defaults
  • 3 dependencies
  • 3 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Ruby
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ruby from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

ruby 3.4.9-r0

An object-oriented language for quick and easy programming

https://www.ruby-lang.org/

sudo apk add ruby
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-dbg 3.4.9-r0

An object-oriented language for quick and easy programming (debug symbols)

https://www.ruby-lang.org/

sudo apk add ruby-dbg
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-dev 3.4.9-r0

An object-oriented language for quick and easy programming (development files)

https://www.ruby-lang.org/

sudo apk add ruby-dev
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-doc 3.4.9-r0

An object-oriented language for quick and easy programming (documentation)

https://www.ruby-lang.org/

sudo apk add ruby-doc
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-full 3.4.9-r0

Ruby with all bundled gems

https://www.ruby-lang.org/

sudo apk add ruby-full
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-full from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-libs 3.4.9-r0

Libraries necessary to run Ruby

https://www.ruby-lang.org/

sudo apk add ruby-libs
  • License: Ruby AND BSD-2-Clause AND MIT
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ruby-rdoc 3.4.9-r0

Ruby documentation tool

https://www.ruby-lang.org/

sudo apk add ruby-rdoc
  • License: Ruby
  • Architecture: x86_64
  • Source Package: ruby
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ruby-rdoc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

ruby 4.0.5-33.fc45

An interpreter of object-oriented scripting language

https://www.ruby-lang.org/

sudo dnf install ruby
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ruby
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ruby-bundled-gems 4.0.5-33.fc45

Bundled gems which are part of Ruby StdLib

https://www.ruby-lang.org/

sudo dnf install ruby-bundled-gems
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ruby
  • 7 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby-bundled-gems from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ruby-default-gems 4.0.5-33.fc45

Default gems which are part of Ruby StdLib

https://www.ruby-lang.org/

sudo dnf install ruby-default-gems
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ruby
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby-default-gems from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ruby-devel 4.0.5-33.fc45

A Ruby development environment

https://www.ruby-lang.org/

sudo dnf install ruby-devel
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ruby
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ruby-doc 4.0.5-33.fc45

Documentation for ruby

https://www.ruby-lang.org/

sudo dnf install ruby-doc
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ruby
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ruby-libs 4.0.5-33.fc45

Libraries necessary to run Ruby

https://www.ruby-lang.org/

sudo dnf install ruby-libs
  • License: (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ruby
  • 10 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Ruby
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ruby-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment