Upgrade to rails 4.0.2
Update configs for rails 4.0.2