diff --git a/Gemfile b/Gemfile index 90c115a..312f577 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ # frozen_string_literal: true source "https://rubygems.org" gem 'alexa_skills_ruby' +gem 'sinatra' # gem "rails" diff --git a/Gemfile.lock b/Gemfile.lock index 1aa4b24..732167e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,7 +13,15 @@ GEM i18n (0.7.0) minitest (5.10.1) multi_json (1.12.1) + rack (1.6.5) + rack-protection (1.5.3) + rack + sinatra (1.4.7) + rack (~> 1.5) + rack-protection (~> 1.4) + tilt (>= 1.3, < 3) thread_safe (0.3.5) + tilt (2.0.5) tzinfo (1.2.2) thread_safe (~> 0.1) @@ -22,6 +30,7 @@ PLATFORMS DEPENDENCIES alexa_skills_ruby + sinatra BUNDLED WITH 1.13.6 diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..785bf5c --- /dev/null +++ b/config.ru @@ -0,0 +1,2 @@ +require './app' +run Sinatra::Application \ No newline at end of file