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

Error when running under cucumber with spork #15

Open
papersmith opened this issue Jun 2, 2010 · 4 comments
Open

Error when running under cucumber with spork #15

papersmith opened this issue Jun 2, 2010 · 4 comments

Comments

@papersmith
Copy link

When I run my cucumber features with spork, it throws an error:

undefined method `flush' for class `DRb::DRbObject' (NameError)

full backtrace

It runs fine standalone without spork. It also runs fine with selenium and rack_test.

@smparkes
Copy link
Owner

smparkes commented Jun 2, 2010

Huh. I know nothing about spork and very little about Drb. Not sure what could be the issue here ...

Do you have an example that you can post somewhere?

@papersmith
Copy link
Author

Basically it happens when I call click_button, perhaps other actions as well.

To be honest I have no idea what's going on either, but my ugly hack seems to at least make everything pass:

class DRb::DRbObject
  def flush
  end
end

@gregwebs
Copy link

I am on 0.4 and experienced this. The hack works for me

@smparkes
Copy link
Owner

I missed the backtrace at first.

I think I'm just calling flush on stdout/stderr for debugging.

Seems to me like if spork is going to muck with stdout/stderr, it should make the sufficiently stream-like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants