Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jruby/jruby
JRuby, an implementation of Ruby on the JVM
https://github.com/jruby/jruby
concurrency invokedynamic jruby jvm performance ruby ruby-language
Last synced: 4 days ago
JSON representation
JRuby, an implementation of Ruby on the JVM
- Host: GitHub
- URL: https://github.com/jruby/jruby
- Owner: jruby
- License: other
- Created: 2009-04-05T03:54:35.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2024-12-08T17:57:17.000Z (5 days ago)
- Last Synced: 2024-12-08T18:29:12.671Z (5 days ago)
- Topics: concurrency, invokedynamic, jruby, jvm, performance, ruby, ruby-language
- Language: Ruby
- Homepage: https://www.jruby.org
- Size: 277 MB
- Stars: 3,795
- Watchers: 141
- Forks: 925
- Open Issues: 791
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-ruby - JRuby - A Java implementation of the Ruby language. (Implementations/Compilers)
- awesome-for-beginners - JRuby
- fucking-awesome-for-beginners - JRuby
README
# JRuby - an implementation of the Ruby language on the JVM
Master: [![JRuby CI](https://github.com/jruby/jruby/actions/workflows/ci.yml/badge.svg)](https://github.com/jruby/jruby/actions/workflows/ci.yml), [![JRuby CI (Windows)](https://github.com/jruby/jruby/actions/workflows/ci-windows.yml/badge.svg)](https://github.com/jruby/jruby/actions/workflows/ci-windows.yml)
9.3 branch: [![JRuby CI](https://github.com/jruby/jruby/actions/workflows/ci.yml/badge.svg?branch=jruby-9.3)](https://github.com/jruby/jruby/actions/workflows/ci.yml), [![JRuby CI (Windows)](https://github.com/jruby/jruby/actions/workflows/ci-windows.yml/badge.svg?branch=jruby-9.3)](https://github.com/jruby/jruby/actions/workflows/ci-windows.yml)## About
JRuby is an implementation of the [Ruby language](http://www.ruby-lang.org)
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](http://en.wikipedia.org/wiki/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 Libera](https://libera.chat/).
There are core team members in the EU and US time zones.Visit the [JRuby website](https://www.jruby.org/) and the [JRuby wiki](https://github.com/jruby/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](https://www.ruby-lang.org/en/documentation/installation/#managers).
For [`rbenv`](https://github.com/sstephenson/rbenv) you will need the
[`ruby-build`](https://github.com/sstephenson/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.2.13.0 is just for illustration):```
$ rbenv install jruby-9.2.13.0
```For [`rvm`](https://rvm.io) you can simply do:
```
$ rvm install jruby
```Using [`Homebrew`](https://brew.sh/) works too:
```
$ brew install jruby
```You can also [download packages from the JRuby website](https://www.jruby.org/download) that
you can unpack and run in place.## Building JRuby
See [BUILDING](BUILDING.md) 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 .Project Contact: Thomas E Enebo
## License
JRuby is licensed under a tri EPL/GPL/LGPL license. You can use it,
redistribute it and/or modify it under the terms of the:Eclipse Public License version 2.0
OR
GNU General Public License version 2
OR
GNU Lesser General Public License version 2.1Some components have other licenses and copyright. See the [COPYING](COPYING)
file for more specifics.