Difference between revisions of "Jruby"

From ArchWiki
Jump to: navigation, search
(Created page with '== Installing Jruby on Arch == # Download the latest Jruby from jruby.org to '/opt/jruby' # Add 'opt/jruby/bin' to your path <code> export PATH=$PATH:/opt/jruby/bin </code>')
 
(Installing Jruby on Arch)
Line 3: Line 3:
 
# Download the latest Jruby from [[jruby.org]] to '/opt/jruby'
 
# Download the latest Jruby from [[jruby.org]] to '/opt/jruby'
 
# Add 'opt/jruby/bin' to your path
 
# Add 'opt/jruby/bin' to your path
<code> export PATH=$PATH:/opt/jruby/bin </code>
+
 
 +
# export PATH=$PATH:/opt/jruby/bin
 +
 
 +
== Testing Jruby ==
 +
 
 +
* 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]

Revision as of 15:20, 13 May 2009

Installing Jruby on Arch

  1. Download the latest Jruby from jruby.org to '/opt/jruby'
  2. Add 'opt/jruby/bin' to your path
# export PATH=$PATH:/opt/jruby/bin

Testing Jruby

  • 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]