Fixes autosupport loading. Rails issue 14664