31 Aug 2010
I've recently done a proof of concept using RabbitMQ, Spring AMQP and Spring Integration. This...
21 Jul 2010
In over ten years of experience building software, there are patterns and nuances that you...
13 Jul 2010
I set out to find an elegant solution to providing growl notifications for a JRuby...
05 May 2010
I've started playing around with Heroku lately and ran into an issue when I created...
30 Apr 2010
I've been meaning to investigate something that came to mind a while back and just...

JRuby: An Introduction and Install Guide

Published: 23 Jul 2007

What is JRuby?

JRuby is simply a Java implementation of the Ruby programming language.

Why Should I Use JRuby?

  1. Leverage both Java and Ruby libraries (gems)
  2. Use existing Java platform to deploy Ruby or Ruby on Rails applications.
  3. The ability to call or extend Java classes from Ruby (including Spring-managed Java beans)
  4. Leverage the non-verbose and more pleasant experience of writing code with Ruby.

How do I Install JRuby?

  1. Download and install JDK 1.4 or later.
  2. Download JRuby 1.0
  3. Unpack the JRuby archive and add <jruby-dir>/bin to your PATH environment variable.
  4. Test your install by typing a command such as jruby -v.

Further Reading

Although this book isn’t available until September, 2007, it will be the only published book devoted exclusively to JRuby:

  1. Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java by Ola Bini

blog comments powered by Disqus