Write out configs at the correct time
Fix railtie and update dummy app to rails 4.1
Add new files