Created: 2008-11-22 19:17
Updated: 2018-06-11 03:59


Step-by-step to run the JMaglev demo

  1. Pull from github:

    git clone git://
  2. Long time waiting, because terracotta-2.7.1 (vanilla) and jruby-complete (patched) are bundled.

  3. Change to the project directory:

    cd clustered-jruby
  4. Build it:

    mvn install

    (although mvn package is enough)

  5. Change to the jmaglev demo directory:

    cd jmaglev
  6. Start the terracotta server:

  7. Open another two terminals

  8. Run the simplified jirb inside them:

    cd clustered-jruby/jmaglev
    ./bin/jmaglev jmaglev.rb
  9. Follow the demo. You will be able to share global variables among all jmaglevs:

    require 'hat'
    require 'rabbit'
  10. in the other terminal, try to see the magic hat contents:

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more