Fix issue with rails server and grunt