## Installation

Install the [jruby](https://www.archlinux.org/packages/?name=jruby) package.

**Note:** *jruby* will require either [openjdk](/index.php/Java#Installation "Java") or [jre](/index.php/Java#Installation "Java") in order to run

1.  Download the latest Jruby from [http://jruby.org/download](http://jruby.org/download) to '/opt/jruby'
2.  Add 'opt/jruby/bin' to your path

```
# export PATH=$PATH:/opt/jruby/bin

```

## Testing

*   Run the following command to test jruby

```
# jruby -v
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]

```