# Error running tests with fresh copy from svn

**URL:** <https://www.ruby-forum.com/t/error-running-tests-with-fresh-copy-from-svn/66864>\
**Category:** Ruby-Forum\
**Created:** [August 29, 2006, 9:57pm UTC](https://www.ruby-forum.com/t/error-running-tests-with-fresh-copy-from-svn/66864 "2006-08-29T21:57:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [August 29, 2006, 9:57pm UTC](https://www.ruby-forum.com/t/error-running-tests-with-fresh-copy-from-svn/66864/1 "2006-08-29T21:57:21Z")

</div>

Hello again

Just checked out the latest from svn, installed ferret, setup a test db,  
and ran “rake”. It fails, and tracing into the error it looks like the  
acts\_as\_ferret plugin is out of date with the latest ferret gem?

I just did “gem install ferret” and it grabbed version 0.10.1 - is that  
too new for the plugin?

# The full stack trace is below from rake - you can see that “BooleanClause” doesn’t exist where the plugin expects if you load up ferret in irb.

(in /SourceControl/SeekingAlpha/rforum)  
WARNING: config/site.rb not found, using default settings from  
config/default\_site.rb  
\*\* Invoke default (first\_time)  
\*\* Invoke test (first\_time)  
\*\* Execute test  
\*\* Invoke test:units (first\_time)  
\*\* Invoke db:test:prepare (first\_time)  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
\*\* Execute db:test:prepare  
\*\* Invoke db:test:clone (first\_time)  
\*\* Invoke db:schema:dump (first\_time)  
\*\* Invoke environment  
\*\* Execute db:schema:dump  
\*\* Execute db:test:clone  
\*\* Invoke db:schema:load (first\_time)  
\*\* Invoke environment  
\*\* Execute db:schema:load  
\*\* Execute test:units  
/usr/local/bin/ruby -Ilib:test  
“/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake\_test\_loader.rb”  
“test/unit/admin\_test.rb” “test/unit/attachment\_test.rb”  
“test/unit/blocked\_ip\_test.rb”  
“test/unit/common\_model\_behaviors\_test.rb” “test/unit/forum\_test.rb”  
“test/unit/localization\_test.rb” “test/unit/mailer\_receive\_test.rb”  
“test/unit/mailer\_test.rb” “test/unit/navbar\_test.rb”  
“test/unit/post\_menu\_test.rb” “test/unit/post\_test.rb”  
“test/unit/post\_vote\_test.rb” “test/unit/search\_ferret\_test.rb”  
“test/unit/tag\_test.rb” “test/unit/topic\_read\_test.rb”  
“test/unit/topic\_subscription\_test.rb” “test/unit/topic\_test.rb”  
“test/unit/user\_test.rb”  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:123:in  
`const_missing': uninitialized constant BooleanClause (NameError) from /SourceControl/SeekingAlpha/rforum/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:174:in`acts\_as\_ferret’  
from /SourceControl/SeekingAlpha/rforum/app/models/post.rb:24  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in`require’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:65:in  
`require_or_load' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in`depend\_on’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:85:in  
`require_dependency' from /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/dependencies.rb:72:in`require\_dependencies’  
… 9 levels…  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from ./test/unit/admin_test.rb:3 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 **Invoke test:functionals (first_time)** Invoke db:test:prepare ** Execute test:functionals /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/functional/application_controller_test.rb" "test/functional/attachment_controller_test.rb" "test/functional/forum_controller_test.rb" "test/functional/forum_helper_test.rb" "test/functional/topic_controller_test.rb" "test/functional/user_controller_test.rb" /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in`const\_missing’: uninitialized constant BooleanClause (NameError)  
from  
/SourceControl/SeekingAlpha/rforum/vendor/plugins/acts\_as\_ferret/lib/acts\_as\_ferret.rb:174:in  
`acts_as_ferret' from /SourceControl/SeekingAlpha/rforum/app/models/post.rb:24 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:65:in`require\_or\_load’  
from  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:30:in  
`depend_on' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in`require\_dependency’  
from  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/dependencies.rb:72:in  
`require_dependencies' ... 9 levels... from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from ./test/functional/application\_controller\_test.rb:3  
from  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake\_test\_loader.rb:5  
from  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake\_test\_loader.rb:5  
rake aborted!  
Test failures  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/testing.rake:35  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in`execute’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in`synchronize’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in`invoke\_prerequisites’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in`invoke\_prerequisites’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /usr/local/lib/ruby/1.8/thread.rb:135:in`synchronize’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7  
/usr/local/bin/rake:18

thanks

- Rob

---

<div class="post-metadata">

**Author:** ![rsanheim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/47e85d/32.png) [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Post date:** [August 31, 2006, 11:54am UTC](https://www.ruby-forum.com/t/error-running-tests-with-fresh-copy-from-svn/66864/2 "2006-08-31T11:54:26Z")

</div>

Rob S. wrote:

> Hello again
> 
> Just checked out the latest from svn, installed ferret, setup a test db,  
> and ran “rake”. It fails, and tracing into the error it looks like the  
> acts\_as\_ferret plugin is out of date with the latest ferret gem?
> 
> I just did “gem install ferret” and it grabbed version 0.10.1 - is that  
> too new for the plugin?

Yes, the included plugin is for use with 0.9.4. The new plugin for  
0.10.1 is not yet working correctly.
