Error while using PDF Kit-Collection of common programming errors

Maybe you’re accidentally loading Rails 3.0.x on a Rails 3.1 application?

It won’t work if you generate a Rails 3.1 application, which adds config/initializers/wrap_parameters.rb, and then try to boot it with Rails 3.0.x.

If you want Rails 3.1: Are you running with bundler, e.g. bundle exec unicorn_rails or bundle exec rake?

If you want Rails 3.0.x: Regenerate the application by running rails new appname to see what needs to change.

Originally posted 2013-11-27 05:08:12.