Fixes for the config files for the move to rails 4.0
This should be all of the changes needed to move to rails 4