Sinatra doesn’t know this ditty.

Try this:
get '/categories/' do
  "Hello World"
end