# Unable to run tests for acts\_as\_nested\_set

**URL:** <https://www.ruby-forum.com/t/unable-to-run-tests-for-acts-as-nested-set/141438>\
**Category:** Rails\
**Created:** [June 25, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/unable-to-run-tests-for-acts-as-nested-set/141438 "2008-06-25T21:29:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [June 25, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/unable-to-run-tests-for-acts-as-nested-set/141438/1 "2008-06-25T21:29:31Z")

</div>

Hi,

I have acts\_as\_nested\_set installed in my app under vendor/plugins.  
When I run ‘rake test:plugins’ I get the following error:

/usr/bin/ruby1.8 -Ilib:test “/var/lib/gems/1.8/gems/rake-0.8.1/lib/  
rake/rake\_test\_loader.rb” “vendor/plugins/acts\_as\_nested\_set/test/  
nested\_set\_test.rb”  
/var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active\_support/  
dependencies.rb:275:in `load_missing_constant': uninitialized constant ActiveRecord::Acts (NameError) from /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ dependencies.rb:467:in`const\_missing’  
from ./vendor/plugins/acts\_as\_nested\_set/test/…/init.rb:1  
from /usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active\_support/  
dependencies.rb:509:in `require' from /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ dependencies.rb:354:in`new\_constants\_in’  
from /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active\_support/  
dependencies.rb:509:in `require' from ./vendor/plugins/acts_as_nested_set/test/nested_set_test.rb:7 from /var/lib/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb: 5:in`load’  
from /var/lib/gems/1.8/gems/rake-0.8.1/lib/rake/rake\_test\_loader.rb:5  
from /var/lib/gems/1.8/gems/rake-0.8.1/lib/rake/rake\_test\_loader.rb:  
5:in `each’  
from /var/lib/gems/1.8/gems/rake-0.8.1/lib/rake/rake\_test\_loader.rb:5  
rake aborted!  
Command failed with status (1): [/usr/bin/ruby1.8 -Ilib:test "/var/lib/  
gems…]

I am not sure if this is:

1. Something I am doing wrong
2. A problem with acts\_as\_nested\_set
3. A problem with rails plugins in general

I am running with a recent git version in vendor/rails, although the  
gem version of active support shows up in that trace for some reason.

Thanks in advance for any assistance.
