Sinatra doesn’t know this ditty.

Try this:
get '/posts/2017-09-21-cnc-gear/' do
  "Hello World"
end