Permalink
Browse files

fix samples/mvm.rb

  • Loading branch information...
1 parent fc2d4e6 commit fb92bf3c524dcf7330298f4abd54f3ad17c04189 @igorbonadio igorbonadio committed Feb 5, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 samples/mvm.rb
View
@@ -1,8 +1,11 @@
require 'jruby/vm'
# create the VMs
-vm1 = JRuby::VM.spawn(['-e' "load 'samples/mvm_subvm.rb'"])
-vm2 = JRuby::VM.spawn(['-e' "load 'samples/mvm_subvm.rb'"])
+vm1 = JRuby::VM.spawn("-e", "load 'samples/mvm_subvm.rb'")
+vm2 = JRuby::VM.spawn("-e", "load 'samples/mvm_subvm.rb'")
+
+vm1.start
+vm2.start
# connect them to parent
vm1 << JRuby::VM_ID

0 comments on commit fb92bf3

Please sign in to comment.