macOS
brew install jrubylocal Homebrew formula metadata
sudo port install jrubyMacPorts ports tree · lang/jruby/Portfile · 来源: api.github.com
安装
brew install jrubylocal Homebrew formula metadata
sudo port install jrubyMacPorts ports tree · lang/jruby/Portfile · 来源: api.github.com
sudo apk add jrubyAlpine Linux edge package indexes · jruby · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#jrubynixpkgs package indexes · jruby · 来源: raw.githubusercontent.com
sudo pacman -S jrubyArch Linux sync databases · jruby · 来源: geo.mirror.pkgbuild.com
sudo dnf install astFedora Rawhide package metadata · ast · 来源: dl.fedoraproject.org
choco install jrubyChocolatey community package catalog · jruby · 来源: community.chocolatey.org
scoop install main/jrubyScoop official bucket manifest trees · bucket/jruby.json · 来源: api.github.com
概览
Ruby implementation in pure Java
历史
JRuby is the long-running Ruby implementation for the Java Virtual Machine. It gives Ruby code access to Java classes, JVM deployment models, Java threading, and JVM tooling while preserving the Ruby language and much of the Ruby ecosystem.
JRuby began in 2001 as a Java-hosted Ruby implementation and became one of the canonical examples of a dynamic language on the JVM. The project moved from a direct-port style implementation toward a JVM-oriented runtime with Java integration, bytecode compilation work, and compatibility targets that followed major Ruby language versions.
The project's institutional story is unusually visible for an open-source language runtime. Charles Nutter and Thomas Enebo announced in September 2006 that Sun Microsystems hired them to work on JRuby full time. After Sun, JRuby development continued through Engine Yard and then Red Hat involvement, keeping paid core development behind the runtime for many years.
JRuby became important during the Ruby on Rails expansion because it made Ruby applications plausible inside Java shops that already standardized on JVM operations. A 2011 JRuby blog post describes the 2006 JavaOne Rails demo as a turning point, at a time when the JVM language conversation centered on projects such as Jython and Groovy.
Package-manager adoption reflects that maturity: JRuby appears across Homebrew, Debian/Ubuntu, Fedora-style distributions, MacPorts, Chocolatey, Scoop, Nix, Arch, and Alpine. For package maintainers it is both a Ruby runtime and a Java application, so packaging has to account for Ruby executables, Java dependencies, and RubyGems-facing commands.
JRuby is used to run Ruby applications on the JVM, embed Ruby scripting into Java systems, call Java libraries from Ruby, and package Ruby applications for environments where the JVM is the operational baseline. Its command set includes JRuby-prefixed versions of common Ruby tools such as gem, irb, rake, rdoc, and ri.
JRuby is package-nerd catnip because it crosses ecosystem boundaries cleanly but not simply: Ruby code, Java bytecode, RubyGems, Maven-style expectations, native extension compatibility, and OS package managers all meet in one runtime. It is also a benchmark case for how language implementations survive outside their reference VM.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ast | cli | 全局可执行文件 | |
install_doc | cli | 全局可执行文件 | |
jbundle | cli | 全局可执行文件 | |
jbundler | cli | 全局可执行文件 | |
jerb | cli | 全局可执行文件 | |
jgem | cli | 全局可执行文件 | |
jirb | cli | 全局可执行文件 | |
jirb_swing | cli | 全局可执行文件 | |
jminitest | cli | 全局可执行文件 | |
jracc | cli | 全局可执行文件 | |
jrake | cli | 全局可执行文件 | |
jrdoc | cli | 全局可执行文件 | |
jri | cli | 全局可执行文件 | |
jruby | cli | 全局可执行文件 | |
jruby.sh | cli | 全局可执行文件 | |
jrubyc | cli | 全局可执行文件 | |
jsyntax_suggest | cli | 全局可执行文件 | |
jtest-unit | cli | 全局可执行文件 | |
lock_jars | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jruby |
|---|---|
| 版本 | 10.1.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jruby |
| 主页 | https://www.jruby.org/ |
| 仓库 | https://github.com/jruby/jruby |
| 上游文档 | https://github.com/jruby/jruby/wiki |
| 许可证 | EPL-2.0 OR GPL-2.0-only OR LGPL-2.1-only |
| 源码归档 | https://search.maven.org/remotecontent?filepath=org/jruby/jruby-dist/10.1.1.0/jruby-dist-10.1.1.0-src.zip |
| 最后更新 | 2026-07-23T20:20:39Z |
| Pulse | updated |
| 依赖 | libfixposix, openjdk |
| 构建依赖 | ant, maven, pkgconf, ruby |
| macOS 提供的库 | libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jruby |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jruby 9.4.8.0+ds-3
100% pure-Java implementation of Ruby
sudo apt install jrubyjruby
nix profile install nixpkgs#jrubyjruby 9.4.6.0+ds-1ubuntu3
100% pure-Java implementation of Ruby
sudo apt install jrubyjruby 9.3.15.0-r0
An implementation of Ruby on the JVM
sudo apk add jrubyjruby-irb 9.3.15.0-r0
Interactive JRuby console
sudo apk add jruby-irbjruby-libs 9.3.15.0-r0
JRuby's standard libraries
sudo apk add jruby-libsjruby-rake 9.3.15.0-r0
Ruby based make-like utility.
sudo apk add jruby-rakejruby-rdoc 9.3.15.0-r0
Ruby documentation tool
sudo apk add jruby-rdocjruby-readline 9.3.15.0-r0
Readline support for JRuby
sudo apk add jruby-readlinejruby-webrick 9.3.15.0-r0
HTTP server toolkit for JRuby
sudo apk add jruby-webrickjruby 10.1.0.0-1
100% pure-Java implementation of the Ruby programming language
sudo pacman -S jrubyjruby
sudo port install jrubyjruby
choco install jrubymain/jruby
scoop install main/jrubyast
sudo port install astast 9.2.12-4.fc44
A Library for Handling World Coordinate Systems in Astronomy
http://starlink.eao.hawaii.edu/starlink/AST
sudo dnf install ast来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.