Detect rails rather than sprockets