fixing conflict for rails 4 apps with rack version