-
Notifications
You must be signed in to change notification settings - Fork 201
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
Nil.each #21
Comments
Dumped MySQL production DB without a problem Tried importing it into development SQLite3 DB and I got this: ... Tasks: TOP => db:load => db:data:load |
might be this bug: #18 (use syck for dumping) |
I'm on EngineYard and I'm trying to use the yaml_db gem to load data I had locally that I saved to db/data.yml with the gem. I'm running
And I'm getting this same exact error. I've tried forcing the YAML engine to syck and also tried psych on Engineyard but neither is working. I'm not sure how to load the yml file. Any ideas? |
Same here
Gemfile.lock
|
So I had figured it out earlier. Syck was the answer. Try placing in this in your boot.rb file on local or dev:
|
Yeah, the 'syck' thing doesn't work for me. |
And plus, isn't there a test suite for testing a reference implementation of YAML? How about not releasing incompatible software (as Psych mostly turns out to be)? :-( |
I had this same problem and it was solved by using syck. |
I had this problem too and "worked around" it by simply ensuring all of my tables contained at least a single record before dumping them. It's somewhat inconvenient though... |
i my case bug is confirmed like in @tomtheguvnor 's situation. |
This is the same error as in #17. |
Hey
I am trying to migrate for n postgres database to mysql.
When I run rake db:dump everything works.
When I run rake db:load it gives me an nil.each error.
I know I have empty tables, can you advise what I need to do.
Thanks
The text was updated successfully, but these errors were encountered: