ezmobius / nanite

self assembling fabric of ruby daemons
Apache License 2.0
735 stars 64 forks source link

Problem with example section "Test Nanite (finally)" #2

Closed masonlee closed 15 years ago

masonlee commented 15 years ago

Looks like the file "nanite/examples/cli.rb" got moved to "nanite/examples/simpleagent/cli.rb". This causes two problems:

First, it breaks a path in cli.rb:

"require File.dirname(FILE) + '/../lib/nanite'" should become "require File.dirname(FILE) + '/../../lib/nanite'"

Second, the tutorial code on the main webpage in the section "Test Nanite (finally)" needs to change from "cd examples; ./cli.rb;" to "cd examples/simpleagent; ./cli.rb"

kennethkalmer commented 15 years ago

Updated in my branch and applied by ezmobius. Could be closed now

masonlee commented 15 years ago

looks good. thanks!