strange behavior on a development server

Subscribe to strange behavior on a development server 2 post(s), 2 voice(s)

 
Avatar slonghurst 2 post(s)


ArgumentError: A copy of Fiveruns::Manage::Targets::Rails::ActiveRecord::Base::ClassMethods has been removed from the module tree but is still active!
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:237:in `load_missing_constant’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing’
from /var/www/html/doyouspeak/releases/20080703114646/vendor/plugins/fiveruns_manage/lib/fiveruns/../fiveruns/../fiveruns/manage/targets/rails/active_record/base.rb:92
:in `retrieve_connection’
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in `connection’
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1063:in `table_exists?’
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1153:in `inspect’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/symbol.rb:11:in `send
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/symbol.rb:11:in `to_proc’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:426:in `collect’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:426:in `log_call’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:222:in `load_missing_constant’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:469:in `const_missing’

I get this error when trying to run any commands from models in our application on the irb command line. This is only occuring on one of our servers, that is configured exactly the same as our other development servers where we do not have any issues. When i run ruby script/console staging i do get this error before i try to run my command
”/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb:106:in `blankslate_original_append_features’:ArgumentError: cyclic
include detected ”
Is the problem i am seeing a fiveruns problem or something else?

 
Avatar Rachel G Administator 48 post(s)

Hi slonghurst,
What version of the FiveRuns plugin are your running?
I believe this error has been fixed in a recent release.
Try doing a gem update and then installing the plugin with: fiveruns_manage /path/to/rails/app
This should eliminate the error.
Thanks,
Rachel