| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
If you prefer to download JRuby source and build it yourself, rather than installing a binary as described in Getting Started with JRuby, you can either download the source files from our web site or get JRuby source code directly from our git repository.
To get JRuby source from the web in a tar or zip file, Download the latest JRuby Source .tar or .zip file and extract it to a directory. The instructions below assume you've extracted the file to the jruby directory.
To get JRuby source from our git repository, retrieve the trunk version of the JRuby source. For example, you can use the following terminal window or command window command to save the files to the jruby directory:
git clone git://jruby.org/jruby.git
Build JRuby using the following shell commands ('''Note:''' Ant 1.7 is required to build JRuby version greater than 1.1, up to version 1.7.4):
cd jruby ant
Create an up-to-date version of jruby-complete.jar with this ant task:
ant jar-complete
Generate an up-to-date set of the JavaDoc for JRuby located at docs/api/index.html:
ant apidocs
Delete any build and compile artifacts:
ant clean
Run the JRuby tests:
ant test
Build the tarballs, zip files and dmg for every platform:
ant dist
If any of the commands above fails, try to clean before running it again:
ant clean
See Getting Started for information on using JRuby.
If you want to attach a debugger to the jruby internal java codes, to aid in developing see here.
| Back | FazBrowse Home | New Git URL |