Skip to content

Commit

Permalink
Note about turning off cache_classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Strelau committed Mar 23, 2011
1 parent c212862 commit 9f4114d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.mkdn
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@ WARNING: Here be dragons.


WARNING: Might sometimes work. Possibly. WARNING: Might sometimes work. Possibly.


You need to turn off class caching in environments/test.rb:

config.cache_classes = false

Gemfile:

group :test do group :test do
gem 'guard-forku', gem 'guard-forku',
git: 'https://github.com/dstrelau/guard-forku.git' git: 'https://github.com/dstrelau/guard-forku.git'
end end


Once to generate a Guardfile:

$ bundle $ bundle
$ bundle exec guard init forku $ bundle exec guard init forku

Start:

$ RUBYOPT=-Itest bundle exec guard $ RUBYOPT=-Itest bundle exec guard

0 comments on commit 9f4114d

Please sign in to comment.