Skip to content


Subversion checkout URL

You can clone with
Download ZIP
JRuby, an implementation of Ruby on the JVM
Ruby Java C++ Shell C JavaScript
Pull request Compare This branch is 16704 commits behind jruby:master.
Failed to load latest commit information.
.externalToolBuilders Tweaked Eclipse settings
.idea Add idea file to shut git up.
.settings Tweaked Eclipse settings
bench Add a default for bench_threaded_reverse.
bin IR: Don't process the same closures the same thing
build_lib Merge in "builtin" SSL support from jruby-ossl library.
cext/src Use actual constants in rb_hash_foreach() instead of hardcoded intege…
docs Update docs/README.cext
gem New versions for jruby-jars.
install Update to jnr-ffi master.
ivy Clean up slf4j build bits, eliminate ivy use (felt weird), fix NB pro…
lib Merge in "builtin" SSL support from jruby-ossl library.
maven Bump jnr-netdb to 1.0.6 (has fix for linux multi-threaded getservbyna…
nbproject Add jnr-unixsocket.jar to NetBeans project
rakelib Shell out to find PackageManager only once.
samples Don't use $KCODE in 1.9 mode.
spec Spaces, not tabs.
spi/services adds JSR223 spi config to jar archives
src IR2JVM: Bind as last resort.
test * JRUBY-6624 Strip jar: prefix when searching for files in a JAR
tool RbConfig and 1.9 stdlib cleanup.
.classpath Update Eclipse classpath settings
.gitignore Use git submodules for mspec/rubyspec rather than our own logic.
.gitmodules using https:// instead of git:// to allow rw access too
.project Tweaks to Eclipse project files (also added Maven config for Eclipse)
.travis.yml Attempting to get test19 in travis.
COPYING Add copyright notice for Yecht. This resolves JRUBY-4843.
LEGAL Adding back LEGAL (for Ola)
LICENSE.RUBY Add license text for ruby licensed modules Converted README to markdown.
Rakefile Update asm jar versions in Rakefile
build.xml Merge in "builtin" SSL support from jruby-ossl library. Upgrade to jruby-launcher 1.0.13
docs.iml Project files for IntelliJ
findbugs.xml Ignore intentional String equality checking in RubyModule in FindBugs.
jruby-common.iml Apparent changes in IntelliJ files. I'm using 10.5.4 at the moment.
jruby-complete.iml Apparent changes in IntelliJ files. I'm using 10.5.4 at the moment.
jruby-core.iml Apparent changes in IntelliJ files. I'm using 10.5.4 at the moment.
jruby-dist.iml Project files for IntelliJ
jruby-rake-plugin.iml Project files for IntelliJ
jruby-stdlib.iml Project files for IntelliJ
jruby.bnd.template JRUBY-2741: OSGify jruby.jar in the release jruby distribution (patch…
jruby.iml Apparent changes in IntelliJ files. I'm using 10.5.4 at the moment.
man.iml Project files for IntelliJ
netbeans-ant.xml Fix all remaining references to site_ruby and gems/1.8.
pom.xml Update to ASM 4.0.
shared.iml Add BC to Intellij project.

JRuby - A Java implementation of the Ruby language

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

Project Contact: Thomas E Enebo

JRuby also uses code generously shared by the creator of the Ruby language, Yukihiro Matsumoto


JRuby is the effort to recreate the Ruby ( interpreter in Java.

The Java version is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application. See the 'docs' directory for more information.


bin/jruby rubyfile.rb

interprets the file 'rubyfile.rb'.

If you checked out from the repository or downloaded the source distribution, see the next section to build JRuby first.

Compiling from source

You will need:

To compile, just type:


This will create a jruby.jar file in the projects 'lib' directory.


In order to run the unit tests, copy the build_lib/junit.jar file to either $ANT_HOME/lib/junit.jar or ~/.ant/lib/junit.jar.

See 'docs/README.test' for more information.

More Information

Visit for more information.


Read the COPYING file.

Something went wrong with that request. Please try again.