sivakrishna.m
Joined: 01 Jan 2008 Posts: 160 Location: Narsipatnam
|
Posted: Fri Sep 25, 2009 2:55 am Post subject: Installation of JRuby On Ubuntu |
|
|
Installation of JRuby On Ubuntu
===============================
While Installing JRuby on Ubuntu, probably you need to login as root access. Before installing JRuby , you have to Install Java JRE and JDK ( for versions you may read the document from "http://svn.codehaus.org/jruby/trunk/jruby/README") other wise go to the sites "https://jdk-distros.dev.java.net/ubuntu.html" and "http://java.sun.com/javase/downloads/index.jsp". After Installing Java, Next thing to install is "Ant", It is a prerequisite fro JRuby.
> apt-get install ant
then Building JRuby there are two ways to install.
1 . if you have svn subversion then get it by svn co
> svn co http://svn.codehaus.org/jruby/trunk/jruby
or
2. download it from http://dist.codehaus.org/jruby/ and extract it using
> tar -xzvf jruby-src-LATEST.VERSION.tar.gz
then move that JRuby Folder to somewhere like /usr/local/lib for making it global, it is know as "JRUBY_HOME" path.
> cd ./jruby
> ant clean jar
then it will displays some related paths and successful message "BUILD SUCCESSFUL"
Now try this to view the version of the JRUBY
> jruby -v
Thank You,
Siva |
|