You can serve static files with Sinatra by placing them in public/ (by default) -- I have an index.html in there at the moment, but how can I make the
public/
index.html
require 'sinatra' get '/' do send_file File.join(settings.public_folder, 'index.html') end
As described at Serving static files with Sinatra