From b3b3f6cb91acdb0be98b7aeacee4110b4bf8bd47 Mon Sep 17 00:00:00 2001 From: Naren SivaSubramani Date: Mon, 12 Feb 2018 10:55:45 -0500 Subject: [PATCH] FIX: sinatra deploy failing to find index.html else not working With Puma Version 3.11.2 and Sinatra 1.4.7 --- lib/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.rb b/lib/app.rb index 7f418a0..3dfc59d 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -1,7 +1,7 @@ require 'sinatra' configure { set :server, :puma } -set :root, 'lib/app' +set :root, 'app' get '/' do render :html, :index