Fix the pathing for Rails