ezmobius/nanite

Problem with example section "Test Nanite (finally)"

masonlee opened this issue · 2 comments

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"

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

looks good. thanks!