Skip to content
JRuby, an implementation of Ruby on the JVM
Ruby Java C Yacc XSLT Shell Other
Failed to load latest commit information.
.mvn runnable.jar uses jruby-complete to build itself, so move it Apr 8, 2016
antlib Merge branch 'jruby-1_7' Nov 15, 2015
bench [Truffle] Mandelbrot benchmark with compile detection for minheap wit… Jun 6, 2016
bin [Truffle] Always set -X+T first. Jun 22, 2016
core avoid using fix2int on object_id - use identity hash for native thread Jun 30, 2016
install Update irb launcher on windows installer to mention 2.3 and not 2.2 May 16, 2016
ivy Bump for next dev version Dec 22, 2014
lib [Truffle] Add unicode_normalize from stdlib 2.2.2 Jun 29, 2016
maven [Truffle] Add support for building offline. May 27, 2016
mx.jruby [Truffle] Licences as an mx distribution. Jun 30, 2016
rakelib Run JRuby suite headless, since it starts up graphics subsystem. May 20, 2016
samples [Truffle] Fix the 'this' parameter problem in weather sample. Jun 22, 2016
spec [Truffle] Add modification check to String#sub! Jun 29, 2016
test [Truffle] Much simpler solution to the problem with the global in PE. Jun 27, 2016
tool [Truffle] JT: Move the check earlier, only user-supplied options are … Jun 29, 2016
truffle [Truffle] Add modification check to String#sub! Jun 29, 2016
.gitattributes *.bash files are text files Jun 26, 2013
.gitignore Remove duplicated did_you_mean ignore. May 21, 2016
.travis.yml [Truffle] Split test gems and ecosystem, and allow gems to be used fr… Jun 16, 2016
BSDL Clean up license information a bit for #3198. Aug 6, 2015 [build] added a link to wiki to some build info [skip ci] Sep 2, 2015 Add code of conduct Aug 18, 2015
COPYING Update copyright year. Apr 17, 2016 Clean up issue template; people know to delete text. Jun 10, 2016
LEGAL Adding back LEGAL (for Ola) Dec 6, 2007
LICENSE.RUBY Clean up license information a bit for #3198. Aug 6, 2015 Update the version in the README Feb 4, 2016
Rakefile Better pattern to filter out org.jruby sources from Rake output. Jul 22, 2013
VERSION Update dev version to May 25, 2016
appveyor.yml Reduce # of java runs to reduce time spent on appveyor Mar 9, 2016
ci.hocon [Truffle] Run graal-enterprise and relegate GraalVM to daily. Jun 23, 2016 Update Ruby version numbers. Nov 20, 2015
findbugs.xml Ignore intentional String equality checking in RubyModule in FindBugs. Jun 1, 2010
lifecycle-mapping-metadata.xml * Updated config for Eclipse IDE Oct 14, 2013
mvnw Merge branch 'jruby-1_7' Feb 10, 2016
mvnw.bat adds maven-wrapper May 13, 2015
mvnw.cmd Add maven-wrapper mvnw Jan 27, 2016
pom.rb Update rspec to 3.4.0 to eliminate warnings under rake 11. May 10, 2016
pom.xml Update dev version to May 26, 2016

JRuby - an implementation of the Ruby language on the JVM

Master: Build Status 1.7 branch: Build Status


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 possibilites.

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 JVM runtime environment) version 7 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. Then you can run:

$ rbenv install jruby-

For rvm you can simply do:

$ rvm install jruby

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

Building JRuby from source

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


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

Project Contact: Thomas E Enebo


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

Something went wrong with that request. Please try again.