Browse files

update README to fix test_helper issues in the example rails usage

I am using SnailGun with ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] and ActiveSupport version 3.0.3. When running the README Rails example, I always will get a test_helper not found error.

A commenter on pointed out that this happens in other non-SnailGun contexts, and suggested that users edit the test files. Instead, I suggest ( including the test directory when invoking snailgun.
  • Loading branch information...
1 parent 307fdc2 commit f9b5abd5d438b95354a5d528c18a28a1c84fc568 @jbn jbn committed Dec 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
@@ -58,7 +58,7 @@ with `snailgun -v` if you wish to be notified when it is ready.
$ cd testapp
$ vi config/environments/test.rb
... set config.cache_classes = false
- $ snailgun
+ $ snailgun -I test
Now entering subshell. Use 'exit' to terminate snailgun
$ time RAILS_ENV=test fruby script/runner 'puts 1+2'

0 comments on commit f9b5abd

Please sign in to comment.