This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
clustered-jruby / Readme.markdown
Step-by-step to run the JMaglev demo
Pull from github:
git clone git://github.com/fabiokung/clustered-jruby.gitLong time waiting, because terracotta-2.7.1 (vanilla) and jruby-complete (patched) are bundled.
Change to the project directory:
cd clustered-jrubyBuild it:
(althoughmvn installmvn packageis enough)Change to the jmaglev demo directory:
cd jmaglevStart the terracotta server:
lib/terracotta-2.7.1/bin/start-tc-server.shOpen another two terminals
Run the simplified jirb inside them:
cd clustered-jruby/jmaglev ./bin/jmaglev jmaglev.rbFollow the demo. You will be able to share global variables among all jmaglevs:
require 'hat' $hat require 'rabbit' $hat.put(Rabbit.new)in the other terminal, try to see the magic hat contents:
$hat







