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

"superclass mismatch for class Mark (TypeError)" #22

Open
CodeMonkeySteve opened this issue May 25, 2017 · 3 comments
Open

"superclass mismatch for class Mark (TypeError)" #22

CodeMonkeySteve opened this issue May 25, 2017 · 3 comments

Comments

@CodeMonkeySteve
Copy link

I'm seeing this error when I try to do just about anything (rake tasks, run server, etc.). Seems to be the same cause as jlong/serve#86, fixed by adding psych to the Gemfile.

@safetymonkey
Copy link
Owner

Could you confirm the environment you're running in? Interesting that I haven't run into that myself, but updating the Gemfile is an easy fix.

@CodeMonkeySteve
Copy link
Author

Sorry, should have given more information. It looks like this is a conflict between Psych and Faker, which probably both define Word classes with different superclasses. Requiring Psych first eliminates the error, but one or the other should probably scope their Word class, or maybe Faker should just include Psych before it defines the class. Adding Psych to the ASQ Gemfile is just a work-around.

BTW, this is on Linux (Fedora) running Ruby 2.3.3 under RVM.

@CodeMonkeySteve
Copy link
Author

... also, Faker v1.7.3 and Psych v2.2.4.

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

2 participants