fixinf routes and gemfile