Why do I get "undefined method `destroy'" when including 'svn/repos'?
- by Chad Johnson
I get the following when running
script/server
require 'svn/repos'
script/console
Loading development environment (Rails 2.3.5)
require 'svn/repos'
/Library/Ruby/Site/1.8/svn/core.rb:88: warning: already initialized constant Stream
/Library/Ruby/Site/1.8/svn/core.rb:138: warning: already initialized constant AuthBaton
NoMethodError: undefined method destroy' for #<Svn::Ext::Core::Apr_pool_wrapper_t:0x10150ae68>
from /Library/Ruby/Site/1.8/svn/util.rb:60:insvn_fs_initialize'
from /Library/Ruby/Site/1.8/svn/util.rb:60:in call'
from /Library/Ruby/Site/1.8/svn/util.rb:60:ininitialize'
from /Library/Ruby/Site/1.8/svn/fs.rb:14
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:inrequire'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:innew_constants_in'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require'
from /Library/Ruby/Site/1.8/svn/repos.rb:5
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:ingem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:inrequire'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in new_constants_in'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:inrequire'
from (irb):1
Any idea why?