Permalink
Browse files

Updated simpleagent example to run out the box

  • Loading branch information...
1 parent a3791c9 commit d3f6f98ce605a2b763bc8bbbe6f255c0dc5b09a1 @kennethkalmer kennethkalmer committed Apr 28, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.rdoc
  2. +2 −2 examples/simpleagent/cli.rb
View
@@ -228,7 +228,7 @@ Second shell
Now run a mapper. Mappers can be run from within your Merb or Rails app, from an interactive irb shell, or from the command line. For this example we'll run it from the command line so open a third shell window and run the following:
- cd examples
+ cd examples/simpleagent
./cli.rb
Which should soon return something like the following.
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../lib/nanite'
+require File.dirname(__FILE__) + '/../../lib/nanite'
# cli.rb
#
@@ -10,7 +10,7 @@
# You should also have started the 'simpleagent' nanite in a separate shell by running:
#
# cd <NANITE>/examples/simpleagent
-# nanite
+# nanite-agent
#
# This test script takes a little more than 16 seconds to run since we start a new
# mapper within, and pause while we wait for it to initialize, receive pings from

0 comments on commit d3f6f98

Please sign in to comment.