Installing and Configuring JRuby for Mashups
You can use JRuby as a scripting language in mashup scripts through the <script> statement. To use JRuby, you must install it in your environment.
Note: JRuby scripting is not supported in deployments in WebSphere 6.1.
Steps:
Download JRuby 1.0 and install it in an appropriate folder in your environment. Follow installation instructions with the JRuby libraries.
Add -DJRUBY_HOME=path-to-jruby-installation to the Java options for your environment.
If you have deployed the EMML Reference Runtime Engine in WebLogic 8.1 SP6, add JRuby to the classpath:
Edit the startup script for WebLogic. This is the startWebLogic.cmd or startWebLogic.sh file in the weblogic-domain-base folder.
Add these entries to the CLASSPATH environmental variable:
JRuby-home/lib/jruby.jar
JRuby-home/lib/ruby/1.8
Restart the EMML Engine.
Enterprise Mashup Markup Language (EMML) Documentation is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.
