Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spork -d fails #24

Closed
andreacfm opened this issue Feb 1, 2012 · 5 comments
Closed

spork -d fails #24

andreacfm opened this issue Feb 1, 2012 · 5 comments
Labels
outdated Inactive - Outdated

Comments

@andreacfm
Copy link

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

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 <class:Engine>'
/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 <class:Engine>'
/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 `<top (required)>'
@nashby
Copy link
Contributor

nashby commented Feb 1, 2012

are you sure it's related to fuubar?
Could you upload a simple app that reproduce this error? Thanks!

@andreacfm
Copy link
Author

Fuubar is not the culprit.
Even removing it the issue perists.
Will try to reproduce in a test app

@jeffkreeftmeijer
Copy link
Contributor

Hey Andrea,

Thanks for diving in. Could you start an issue in the Spork issue tracker for this? I'm sure they'll help you out. :)

@andreacfm
Copy link
Author

sorry man .... posted int he wrong tracker !!!!!!!!!!!!!! I must be tired!!!

@github-actions
Copy link

This issue has been closed automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the outdated Inactive - Outdated label Dec 28, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated Inactive - Outdated
Development

No branches or pull requests

3 participants