Update Ruby version and gems
Add fallback route for old URLs