Simple fix for detecting rails 4 apps