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

Psych/papertrail (reify) causing: Tuple cannot be created via allocate() #3279

Closed
jc00ke opened this issue Jan 11, 2015 · 3 comments
Closed

Comments

@jc00ke
Copy link
Member

jc00ke commented Jan 11, 2015

I'm testing this on ffd327f

failure output: https://gist.github.com/jc00ke/7cb0b1e0c40646717f1a

@andrewhavens
Copy link

I am running into this same issue, but I'm not using papertrail. Just Rails 4.2.0 and Guard. Here are my steps to reproduce:

gem install rails -v 4.2.0
rails new testapp
echo "gem 'guard'" >> Gemfile
bundle
guard init
bundle exec guard

Backtrace: https://gist.github.com/andrewhavens/b93b58378c33f392242f

@jemc
Copy link
Member

jemc commented Jan 21, 2015

@andrewhavens @jc00ke
This is a known issue with psych 2.0.9 for all serialization/deserialization of all Hashes. I recently pushed a fix to psych (ruby/psych#218) that should have solved this problem for most cases - please update your psych version to at least 2.0.10.

The only case that this remains unfixed for is if someone is using a subclass of Hash that they implicitly serialize/deserialize. See this issue (ruby/psych#220) and the longer discussion in this issue (ruby/psych#216).

@jemc jemc closed this as completed Jan 21, 2015
@andrewhavens
Copy link

@jemc Thanks! Ran bundle update psych (which installed 2.0.11) and the error went away.

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