JRuby

JRuby,Ruby在JVM上的一个实现。「JRuby, an implementation of Ruby on the JVM」

Github星跟蹤圖

JRuby - an implementation of the Ruby language on the JVM

Master: Build Status
9.1 branch: Build Status

About

JRuby is an implementation of the Ruby language
using the JVM.

It aims to be a complete, correct and fast implementation of Ruby, at the same
time as providing powerful new features such as concurrency without a
global-interpreter-lock,
true parallelism, and tight integration to the Java language to allow you to
use Java classes in your Ruby program and to allow JRuby to be embedded into a
Java application.

You can use JRuby simply as a faster version of Ruby, you can use it to run Ruby
on the JVM and access powerful JVM libraries such as highly tuned concurrency
primitives, you can use it to embed Ruby as a scripting language in your Java
program, or many other possibilities.

We're a welcoming community - you can talk to us on #jruby on Freenode.
There are core team members in the EU and US time zones.

Visit the JRuby website and the JRuby wiki
for more information.

Getting JRuby

To run JRuby you will need a JRE (the Java VM runtime environment) version 8 or higher.

Your operating system may provide a JRE and JRuby in a package manager, but you may find that this
version is very old.

An alternative is to use one of the Ruby version managers.

For rbenv you will need the
ruby-build plugin. You may find that your system
package manager can provide these. To see which versions of JRuby are available you should run:

$ rbenv install jruby

Note: if you do not regularly git update rbenv this list of versions may be out of date.

We recommend always selecting the latest version of JRuby from the list.
You can install that particular version (9.1.17.0 is just for illustration):

$ rbenv install jruby-9.1.17.0

For rvm you can simply do:

$ rvm install jruby

Using Homebrew works too:

$ brew install jruby

You can also download packages from the JRuby website that
you can unpack and run in place.

Building JRuby

See BUILDING for information about prerequisites, how to compile JRuby from source
and how to test it.

Authors

Stefan Matthias Aust, Anders Bengtsson, Geert Bevin, Ola Bini,
Piergiuliano Bossi, Johannes Brodwall, Rocky Burt, Paul Butcher,
Benoit Cerrina, Wyss Clemens, David Corbin, Benoit Daloze, Thomas E Enebo,
Robert Feldt, Chad Fowler, Russ Freeman, Joey Gibson, Kiel Hodges,
Xandy Johnson, Kelvin Liu, Kevin Menard, Alan Moore, Akinori Musha,
Charles Nutter, Takashi Okamoto, Jan Arne Petersen, Tobias Reif, David Saff,
Subramanya Sastry, Chris Seaton, Nick Sieger, Ed Sinjiashvili, Vladimir Sizikov,
Daiki Ueno, Matthias Veit, Jason Voegele, Sergey Yevtushenko, Robert Yokota,
and many gracious contributors from the community.

JRuby uses code generously shared by the creator of the Ruby language,
Yukihiro Matsumoto matz@netlab.co.jp.

Project Contact: Thomas E Enebo tom.enebo@gmail.com

License

JRuby is licensed to you under three licenses - the EPL 2.0, GPL 2 and LGPL 2.1.
Some components have other licenses and copyright. See the COPYING
file for more specifics.

主要指標

概覽
名稱與所有者jruby/jruby
主編程語言Ruby
編程語言Ruby (語言數: 16)
平台
許可證Other
所有者活动
創建於2009-04-05 03:54:35
推送於2025-06-14 12:34:48
最后一次提交2025-06-14 15:34:45
發布數198
最新版本名稱9.4.13.0 (發布於 )
第一版名稱0.9.0 (發布於 )
用户参与
星數3.8k
關注者數139
派生數0.9k
提交數55.7k
已啟用問題?
問題數4996
打開的問題數792
拉請求數3071
打開的拉請求數95
關閉的拉請求數648
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?