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

undefined method `dump' for Psych:Module #56

Closed
elfassy opened this issue Jan 4, 2012 · 4 comments
Closed

undefined method `dump' for Psych:Module #56

elfassy opened this issue Jan 4, 2012 · 4 comments

Comments

@elfassy
Copy link

elfassy commented Jan 4, 2012

I'm getting this error on heroku, any idea where this might come from? I'm using version 0.7.6

undefined method `dump' for Psych:Module
 vendor/bundle/ruby/1.9.1/gems/ice_cube-0.7.6/lib/ice_cube/schedule.rb:256:in `to_yaml'

Thanks!

@elfassy
Copy link
Author

elfassy commented Jan 4, 2012

I think it might be because of the ruby version (1.9.1) on heroku. I've added the Psych gem (https://github.com/tenderlove/psych) and it works now. Hopes this helps someone :)

@elfassy elfassy closed this as completed Jan 4, 2012
@seejohnrun
Copy link
Collaborator

Ah yes, if it can find Psych, it'll try to use it - I ownder why Pysch#dump wasn't defined though

@benaskins
Copy link

I had the same issue deploying to Heroku this morning. I've been deploying an app with ice_cube to heroku for weeks without issue.

The problem was solved by adding psych to my Gemfile. This introduced some issues with bundling locally, which was resolved by installing bundler-1.1.rc.7.

I suspect this problem has arisen due to a recent change in the Heroku environment.

@seejohnrun
Copy link
Collaborator

Thanks for the follow-up ben, must appreciated

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