There's a problem with dumping AR records using bcrypt under Ruby 2.2.0. I isolated the problem here: https://gist.github.com/be9/c549ff6469d5627aa900
The script shows how to run the thing and what happens. Everything works perfectly under Ruby 2.1.5, but under Ruby 2.2.0 exception gets raised.