jeffkreeftmeijer/fuubar — Issue #24: spork -d fails
Author: andreacfm
Created: 2012-02-01 14:18:15+00:00
State: open

I am on rails 3.2.1 and spork 1.0.0.rc1
Since upgrade rails spork does not reload models, factories etc...
When I try to see what is cached via spork -d
I get this error

```ruby
Using RSpec, Unknown
Loading Spork.prefork block...
wrong number of arguments (2 for 1) (ArgumentError)
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/spork-1.0.0rc1/lib/spork/diagnoser.rb:35:in `load'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:245:in `block in load'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:245:in `load'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/engine.rb:588:in `block (2 levels) in '
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/engine.rb:587:in `each'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/engine.rb:587:in `block in '
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
/Users/andrea/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/andrea/dev/kemen/virgilio/config/environment.rb:8:in `'
```