Installing JRuby
- Install jdk from http://java.sun.com.
- Download JRbuy 1.0.1 archive from http://dist.codehaus.org/jruby/
- Uncompress the archive
- Now you have folder jruby-1.0.1 with sub-folders: bin, docs, lib and samples.
- You can add a JRUBY_HOME environment variable pointing to this directory and then add the %JRUBY_HOME%\bin ($JRUBY_HOME/bin on UNIX) to your system PATH.
- The JRuby distribution's bin directory contains the jruby.bat file that is used to run the JRuby interpreter.
- Run jruby --version from the command line to test that JRuby is working.
Packaging JScrubyt
- Download archive with scrubyt-jruby from here
- Uncompress the archive
- Go to uncompressed folder
- Run jruby --command rake package
- You should have a gem package scrubyt-0.3.4-jruby.gem in folder pkg
Prepare for installing
- Install hpricot: gem install hpricot
- Install mechanize: gem install mechanize
- Install ruby2ruby: gem install ruby2ruby
- Install jrexml: gem install jrexml
Installing JScrubyt
- Install jscrubyt: gem install scrubyt-0.3.4-jruby.gem.
Note: Scrubyt for jruby platform can use ruby2ruby 1.1.7 and not use ParseTreeReloaded