From 2960922872c43c9fa9a7950687c5833820a9da64 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 7 Dec 2015 23:51:13 -0500 Subject: Add config.ru Now that we use the `Sinatra::Base` application, we have to tell the server to run our application class. We do this by specifying a Rack config file. Now instead of running $ ruby app.rb to start the app server, we run $ rackup --- config.ru | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config.ru diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..eae1e13 --- /dev/null +++ b/config.ru @@ -0,0 +1,3 @@ +require './app' + +run App -- cgit v1.2.3