You shouldn't need to require theapplication config in your migrations. I believe the rakefile will take care of that for you.